Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Mar 20, 2024
1 parent 927c2ca commit 4c34858
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/RestApiGuardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ public function test_prevent_anonymous_access_settings() {
}

public function test_check_options_requests() {
$this->expectApplied( 'rest_api_guard_check_options_requests' )->times( 3 );
$this->assertNotAuthenticated();
$this->expectApplied( 'rest_api_guard_check_options_requests' )->times( 8 );

// Check the default settings.
update_option(
Expand Down

0 comments on commit 4c34858

Please sign in to comment.