Change /covers to /assets
This commit is contained in:
@@ -446,6 +446,6 @@ defmodule MusicLibraryWeb.CollectionLive.IndexTest do
|
||||
defp cover_url(record, width) do
|
||||
transform = %Transform{hash: record.cover_hash, width: width}
|
||||
payload = Transform.encode!(transform)
|
||||
~p"/covers/#{payload}"
|
||||
~p"/assets/#{payload}"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -32,7 +32,7 @@ defmodule MusicLibraryWeb.CollectionLive.ShowTest do
|
||||
record = record()
|
||||
transform = %Transform{hash: record.cover_hash, width: nil}
|
||||
payload = Transform.encode!(transform)
|
||||
cover_url = ~p"/covers/#{payload}"
|
||||
cover_url = ~p"/assets/#{payload}"
|
||||
|
||||
release_response = Fixtures.Release.release(:marbles)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user