From ae3cea3232f268eb262e16eb74887a05bef1742d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Fabr=C3=A9gat?= Date: Tue, 10 Dec 2024 10:04:22 -0800 Subject: [PATCH] Update WatermarkerClientTest.php --- tests/WatermarkerClientTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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."); } /**