From 91d2db10202ed23abc5b9577989716222d01f05f Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 19 Nov 2021 10:55:22 +1300 Subject: [PATCH] MNT Fix unit test --- tests/CommentsExtensionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CommentsExtensionTest.php b/tests/CommentsExtensionTest.php index 87bcadb..dbee3cd 100644 --- a/tests/CommentsExtensionTest.php +++ b/tests/CommentsExtensionTest.php @@ -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('

Post your comment

', $cf);