From 12721824742a60a405a08038e2bbdeae8b899174 Mon Sep 17 00:00:00 2001 From: Tonya Mork Date: Mon, 13 Dec 2021 07:15:40 -0600 Subject: [PATCH] Fix failing comment form tests. --- tests/phpunit/tests/comment/commentForm.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/tests/comment/commentForm.php b/tests/phpunit/tests/comment/commentForm.php index eef2e9ac7c008..10b44eaedc94c 100644 --- a/tests/phpunit/tests/comment/commentForm.php +++ b/tests/phpunit/tests/comment/commentForm.php @@ -23,9 +23,9 @@ public function test_default_markup_for_submit_button_and_wrapper() { $form = get_echo( 'comment_form', array( $args, $p ) ); - $button = ''; + $button = ''; $hidden = get_comment_id_fields( $p ); - $this->assertMatchesRegularExpression( '|

\s*' . $button . '\s*' . $hidden . '\s*|', $form ); + $this->assertMatchesRegularExpression( '|

\s*' . $button . '\s*' . $hidden . '\s*|', $form ); } public function test_custom_submit_button() { @@ -58,7 +58,7 @@ public function test_custom_submit_field() { $form = get_echo( 'comment_form', array( $args, $p ) ); - $button = ''; + $button = ''; $hidden = get_comment_id_fields( $p ); $this->assertMatchesRegularExpression( '|

\s*' . $button . '\s*' . $hidden . '\s*|', $form ); }