mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-07 21:48:18 -08:00
fix: incorrect test
This commit is contained in:
parent
2b4dca78e3
commit
ca014d7054
1 changed files with 11 additions and 11 deletions
|
|
@ -90,14 +90,14 @@ func TestMergeTracks(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
assert.Equal(t, 2, count, "expected all listens to be merged into Track 2")
|
||||
|
||||
// Verify artist is associated with album
|
||||
// Verify old artist is not associated with album
|
||||
exists, err := store.RowExists(ctx, `
|
||||
SELECT EXISTS (
|
||||
SELECT 1 FROM artist_releases
|
||||
WHERE release_id = $1 AND artist_id = $2
|
||||
)`, 2, 1)
|
||||
require.NoError(t, err)
|
||||
assert.True(t, exists, "expected old artist to be associated with album")
|
||||
assert.False(t, exists)
|
||||
|
||||
truncateTestData(t)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue