From 554305ad1538423943b963f534373e7dd831c9fa Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Sun, 12 Nov 2023 16:26:18 -0600 Subject: [PATCH] update --- tests/test-ajax-requests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-ajax-requests.php b/tests/test-ajax-requests.php index 6ece749..77d70fa 100644 --- a/tests/test-ajax-requests.php +++ b/tests/test-ajax-requests.php @@ -101,6 +101,6 @@ public function test_invalid_nonce_for_logged_in_user() { } // Assert that the response contains an error message. - $this->expectExceptionMessage( '-1' ); + $this->assertSame( '-1', $this->_last_response ); } }