Shorten Import button text

This commit is contained in:
Claudio Ortolina
2024-10-07 15:11:23 +01:00
parent cd1331bbc6
commit d4f93eae03
2 changed files with 2 additions and 2 deletions
@@ -13,7 +13,7 @@
/>
</form>
<.link patch={~p"/records/import"}>
<.button>Import from MusicBrainz</.button>
<.button>Import</.button>
</.link>
</div>
</header>
@@ -160,7 +160,7 @@ defmodule MusicLibraryWeb.RecordIndexTest do
{:ok, index_live, _html} = live(conn, ~p"/records")
assert index_live
|> element("a", "Import from MusicBrainz")
|> element("a", "Import")
|> render_click() =~ "Search for a record on MusicBrainz"
assert_patch(index_live, ~p"/records/import")