diff --git a/tests/WatermarkerClientTest.php b/tests/WatermarkerClientTest.php index c8255d6..5a6c21c 100644 --- a/tests/WatermarkerClientTest.php +++ b/tests/WatermarkerClientTest.php @@ -35,15 +35,15 @@ public function testHealth(): void { // testing a healthy service $client = $this->getNewClient(); - $this->assertNotFalse($client->checkServiceHealth(), "The service is not healthy."); + $this->assertNotFalse($client->isHealthy(), "The service is not healthy."); // testing a non-existing service $client = new WatermarkerClient('https://example.com'); - $this->assertFalse($client->checkServiceHealth(), "The service is healthy."); + $this->assertFalse($client->isHealthy(), "The service is healthy."); // testing a non-existing url $client = new WatermarkerClient('https://example-NQrkB6F6MwuXesMrBhqx.com'); - $this->assertFalse($client->checkServiceHealth(), "The service is healthy."); + $this->assertFalse($client->isHealthy(), "The service is healthy."); } /**