Skip to content

Commit

Permalink
Update test URL to a valid mock endpoint (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Jun 22, 2024
1 parent 70476ef commit c7a12a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/AbstractDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abstract class AbstractDriverTest extends PHPUnit

public function testSimple(): void
{
$url = 'https://run.mocky.io/v3/92e40ef8-6328-4b8e-af3c-9a26c72abd3c';
$url = 'https://run.mocky.io/v3/965f7c10-5a16-4e13-a9b9-2bcfd30a25f2';
$result = $this->getClient()->request($url);

isSame(200, $result->code);
Expand Down Expand Up @@ -171,7 +171,7 @@ public function testStatus404(): void

public function testStatus404Body(): void
{
$result = $this->getClient()->request('https://run.mocky.io/v3/54bdf866-5da9-4e15-aeb4-4d51ee870dc4');
$result = $this->getClient()->request('https://run.mocky.io/v3/037dd813-edd9-4cc9-bab9-9244c0b5c5ec');

isSame(404, $result->code);
is('{"error": "mock_not_found"}', $result->getBody());
Expand Down

0 comments on commit c7a12a8

Please sign in to comment.