Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni committed Feb 17, 2023
1 parent f284131 commit f24652e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/BrowseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function test_can_get_a_category(): void

$category = Spotify::category($categoryId)->get();

$this->assertEquals($category['id'], $categoryId);
$this->assertEquals($category['id'], '0JQ5DAqbMKFRY5ok2pxXJ0');
}

public function test_can_get_category_playlists(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/SpotifyExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function test_can_throw_api_exception(): void
$request = resolve(SpotifyRequest::class);

$this->expectException(SpotifyApiException::class);
$this->expectExceptionMessage('Service not found');
$this->expectExceptionMessage('Not Found');

$request->get('/not-existing-endpoint');
}
Expand Down

0 comments on commit f24652e

Please sign in to comment.