Skip to content

Commit

Permalink
💚 Fix CI Build after URI update of the API (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Slatyo authored Feb 6, 2024
1 parent 97c6789 commit 81ae968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PokemontcgTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function testCardEndpoints(): void
$cards->find('test-11');

Http::assertSent(function (Request $request) {
return $request->url() === 'https://api.pokemontcg.io/v2/cards?id=test-11'
return $request->url() === 'https://api.pokemontcg.io/v2/cards/test-11'
&& $request->method() === 'GET';
});

Expand Down Expand Up @@ -282,7 +282,7 @@ public function testStaticCardEndpoints(): void
CardFacade::find('test-11');

Http::assertSent(function (Request $request) {
return $request->url() === 'https://api.pokemontcg.io/v2/cards?id=test-11'
return $request->url() === 'https://api.pokemontcg.io/v2/cards/test-11'
&& $request->method() === 'GET';
});

Expand Down

0 comments on commit 81ae968

Please sign in to comment.