Stub artist show test

This commit is contained in:
Claudio Ortolina
2024-12-03 20:15:07 +00:00
parent 9f2335cfa0
commit bef38967a1
3 changed files with 52 additions and 0 deletions
@@ -0,0 +1,9 @@
defmodule LastFm.Fixtures do
@fixtures_folder Path.join([File.cwd!(), "test/support/fixtures"])
def artist_get_info do
Path.join([@fixtures_folder, "artist.getinfo.json"])
|> File.read!()
|> Jason.decode!()
end
end