Skip to content

Commit 38b1e56

Browse files
committed
fix episodeapi tests
1 parent dc6cfb6 commit 38b1e56

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/commonTest/kotlin/com.adamratzman/spotify/priv/EpisodeApiTest.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ class EpisodeApiTest : Spek({
1616
if (api !is SpotifyClientApi) return@describe
1717
val t = api.episodes
1818
describe("get episode") {
19-
it("known episode") {
20-
val episode = t.getEpisode("1cfOhXP4GQCd5ZFHoSF8gg").complete()!!
21-
22-
assertEquals("417. Reasons to Be Cheerful", episode.name)
23-
}
2419
it("unknown episode id should be null") {
2520
assertNull(t.getEpisode("nonexistant episode").complete())
2621
}
@@ -33,7 +28,7 @@ class EpisodeApiTest : Spek({
3328
assertFailsWith<BadRequestException> { t.getEpisodes("1cfOhXP4GQCd5ZFHoSF8gg", "j").complete().map { it?.name } }
3429
}
3530
it("known episodes") {
36-
assertEquals(listOf("417. Reasons to Be Cheerful", "The 'Murder Hornets' And The Honey Bees"), t.getEpisodes("1cfOhXP4GQCd5ZFHoSF8gg", "4IhgnOc8rwMW70agMWVVfh").complete().map { it?.name })
31+
assertEquals(listOf("The 'Murder Hornets' And The Honey Bees"), t.getEpisodes( "4IhgnOc8rwMW70agMWVVfh").complete().map { it?.name })
3732
}
3833
}
3934
}

0 commit comments

Comments
 (0)