mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #360 from creative-commoners/pulls/4/broken-builds
MNT Broken builds
This commit is contained in:
commit
000e7c0ff0
@ -264,7 +264,7 @@ class CommentsExtensionTest extends FunctionalTest
|
|||||||
|
|
||||||
// The comments form is HTML to do assertions by contains
|
// The comments form is HTML to do assertions by contains
|
||||||
$cf = (string) $item->CommentsForm();
|
$cf = (string) $item->CommentsForm();
|
||||||
$expected = '/comments/CommentsForm/" method="POST" enctype="application/x-www-form-urlencoded">';
|
$expected = '/comments/CommentsForm" method="POST" enctype="application/x-www-form-urlencoded">';
|
||||||
|
|
||||||
$this->assertStringContainsString($expected, $cf);
|
$this->assertStringContainsString($expected, $cf);
|
||||||
$this->assertStringContainsString('<h4>Post your comment</h4>', $cf);
|
$this->assertStringContainsString('<h4>Post your comment</h4>', $cf);
|
||||||
|
Loading…
Reference in New Issue
Block a user