MNT Fix unit test

This commit is contained in:
Steve Boyd 2021-11-19 10:55:22 +13:00
parent 8a3b569653
commit 91d2db1020
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ class CommentsExtensionTest extends FunctionalTest
// 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);