Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
puntope committed Sep 2, 2024
1 parent ec9e32f commit fd5d8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/API/WP/NotificationsServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public function test_is_ready_not_calling_status_api_if_with_health_check_is_fal
}

public function test_is_ready_calling_status_api_if_with_health_check_is_true() {
$this->service = $this->get_mock( true, true, true );
$this->service = $this->get_mock();
$this->account->expects( $this->once() )->method( 'is_wpcom_api_status_healthy' );
$this->assertTrue( $this->service->is_ready() );
}
Expand Down

0 comments on commit fd5d8aa

Please sign in to comment.