Skip to content

Commit

Permalink
Add more missing artist_credit_name rows to tests
Browse files Browse the repository at this point in the history
Broken by 7685b04
  • Loading branch information
mwiencek committed Jun 21, 2016
1 parent c07cb76 commit 4c157c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/lib/t/MusicBrainz/Server/Edit/Relationship/Edit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ test 'Editing a relationship refreshes existing cover art' => sub {
INSERT INTO artist (id, gid, name, sort_name)
VALUES (1, '9d0ed9ec-ebd4-40d3-80ec-af70c07c3667', 'Artist', 'Artist');
INSERT INTO artist_credit (id, artist_count, name) VALUES (1, 1, 'Artist');
INSERT INTO artist_credit_name (artist_credit, position, artist, join_phrase, name)
VALUES (1, 0, 1, '', 'Artist');
INSERT INTO release_group (id, name, artist_credit, gid)
VALUES (1, 'Release', 1, '8265e53b-94d8-4700-bcd2-c3d25dcf104d');
Expand Down
2 changes: 2 additions & 0 deletions t/sql/edit_relationship_edit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ INSERT INTO artist (id, gid, name, sort_name) VALUES
(5, '15a40343-ff6e-45d6-a5d2-110388d34858', 'Artist 3', 'Artist 3');

INSERT INTO artist_credit (id, name, artist_count) VALUES (1, 'Artist 1', 1);
INSERT INTO artist_credit_name (artist_credit, position, artist, join_phrase, name)
VALUES (1, 0, 3, '', 'Artist 1');

INSERT INTO event (id, gid, name, type)
VALUES (1, 'ea8415d8-46d1-44aa-8230-5faebd48578b', 'Kool Koncert', 1);
Expand Down

0 comments on commit 4c157c9

Please sign in to comment.