Skip to content

Commit f24652e

Browse files
committed
Fix test
1 parent f284131 commit f24652e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Unit/BrowseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function test_can_get_a_category(): void
1313

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

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

1919
public function test_can_get_category_playlists(): void

tests/Unit/SpotifyExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function test_can_throw_api_exception(): void
2626
$request = resolve(SpotifyRequest::class);
2727

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

3131
$request->get('/not-existing-endpoint');
3232
}

0 commit comments

Comments
 (0)