Show artist MusicBrainz ID (with link and copy button)
This commit is contained in:
@@ -70,7 +70,7 @@ defmodule MusicLibraryWeb.ArtistLive.ShowTest do
|
||||
|> assert_has("div", text: "Error loading biography")
|
||||
end
|
||||
|
||||
test "it shows the artist country", %{
|
||||
test "it shows the artist country and MB id", %{
|
||||
conn: conn,
|
||||
artist_musicbrainz_id: artist_musicbrainz_id
|
||||
} do
|
||||
@@ -89,6 +89,7 @@ defmodule MusicLibraryWeb.ArtistLive.ShowTest do
|
||||
|> unwrap(&render_async/1)
|
||||
|> assert_has("span", text: "United Kingdom")
|
||||
|> assert_has("span", text: "🇬🇧")
|
||||
|> assert_has("dd", text: artist_musicbrainz_id)
|
||||
end
|
||||
|
||||
test "it shows records from the collection and the wishlist", %{
|
||||
|
||||
Reference in New Issue
Block a user