Show purchase date in collection view

This commit is contained in:
Claudio Ortolina
2025-01-01 16:45:43 +00:00
parent 6a9d54f735
commit 8bd7197d18
4 changed files with 36 additions and 9 deletions
@@ -69,6 +69,7 @@ defmodule MusicLibraryWeb.CollectionLive.IndexTest do
assert record_row_html =~ Record.type_long_label(record.type)
assert record_row_html =~ record.release
assert record_row_html =~ ~p"/covers/#{record.id}?vsn=#{record.cover_hash}"
assert record_row_html =~ Record.format_purchased_at(record.purchased_at)
for artist <- record.artists do
assert record_row_html =~ escape(artist.name)