Move test in correct describe block

This commit is contained in:
Claudio Ortolina
2026-03-26 11:55:27 +00:00
parent 88b575ee95
commit dec564b840
@@ -360,7 +360,6 @@ defmodule MusicLibraryWeb.CollectionLive.IndexTest do
|> refute_has("button#camera-button") |> refute_has("button#camera-button")
|> assert_has("video#camera-preview") |> assert_has("video#camera-preview")
end end
end
test "it adds a record after scanning", %{conn: conn} do test "it adds a record after scanning", %{conn: conn} do
barcode = "5037300650128" barcode = "5037300650128"
@@ -444,6 +443,7 @@ defmodule MusicLibraryWeb.CollectionLive.IndexTest do
musicbrainz_id: "1932f5b6-0b7b-4050-b1df-833ca89e5f44" musicbrainz_id: "1932f5b6-0b7b-4050-b1df-833ca89e5f44"
} = marillion } = marillion
end end
end
defp cover_url(record, width) do defp cover_url(record, width) do
transform = %Transform{hash: record.cover_hash, width: width} transform = %Transform{hash: record.cover_hash, width: width}