Skip to content

Commit

Permalink
Next try
Browse files Browse the repository at this point in the history
  • Loading branch information
obenland committed Nov 12, 2023
1 parent d4fc974 commit 3a641bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test-ajax-requests.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php // phpcs:disable Generic.CodeAnalysis.EmptyStatement.DetectedCatch
/**
* Ajax requests test file.
*
Expand Down Expand Up @@ -101,7 +101,6 @@ public function test_invalid_nonce_for_logged_in_user() {
}

// Assert that the response contains an error message.
$this->expectException( 'WPAjaxDieStopException' );
$this->expectExceptionMessage( '-1' );
}
}

0 comments on commit 3a641bd

Please sign in to comment.