Skip to content

Commit

Permalink
Matcher: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthi-chaud committed May 9, 2024
1 parent 3b972db commit 24fd2d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions matcher/test/Matcher/TestTMDB.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ specs = describe "TMDB" $ do
name res `shouldBe` "Madonna"
originalName res `shouldBe` "Madonna"
profilePath res
`shouldBe` Just "https://image.tmdb.org/t/p/original/pI6g1iVlUy7cUAZ6AspVXWq4kli.jpg"
`shouldBe` Just "https://image.tmdb.org/t/p/original/8XtGxpB4z428QDgwKlFYPktYHFC.jpg"
)
it "Should Fail to find band" $ do
searchArtist tmdbClient "Garbage"
Expand All @@ -38,7 +38,7 @@ specs = describe "TMDB" $ do
Right (ArtistDetails Nothing) -> expectationFailure "No biography found"
Right (ArtistDetails (Just description)) -> do
take 10 description `shouldBe` "Madonna (b"
reverse (take 10 $ reverse description) `shouldBe` " industry."
reverse (take 10 $ reverse description) `shouldBe` "le artist."
)
describe "Search Package" $ do
it "Should Get Package" $ do
Expand Down

0 comments on commit 24fd2d4

Please sign in to comment.