Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
Update WatermarkerClientTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joanfabregat committed Dec 10, 2024
1 parent 16ffac4 commit ae3cea3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/WatermarkerClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}

/**
Expand Down

0 comments on commit ae3cea3

Please sign in to comment.