Skip to content

Commit

Permalink
Merge pull request #334 from creative-commoners/pulls/3.7/cherry-pick
Browse files Browse the repository at this point in the history
MNT Fix unit test
  • Loading branch information
emteknetnz authored Nov 29, 2021
2 parents 8a3b569 + 91d2db1 commit 421e08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CommentsExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public function testCommentsForm()

// The comments form is HTML to do assertions by contains
$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('<h4>Post your comment</h4>', $cf);
Expand Down

0 comments on commit 421e08c

Please sign in to comment.