mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-17 19:26:36 -07:00
feat: version v0.0.2
This commit is contained in:
parent
0dceaf017a
commit
7ff317756f
36 changed files with 336 additions and 160 deletions
|
|
@ -195,6 +195,13 @@ func TestDeleteArtistAlias(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
assert.True(t, exists, "expected alias to still exist")
|
||||
|
||||
// Ensure primary alias cannot be deleted
|
||||
err = store.DeleteArtistAlias(ctx, artist.ID, "Alias Artist")
|
||||
require.NoError(t, err) // shouldn't error when nothing is deleted
|
||||
artist, err = store.GetArtist(ctx, db.GetArtistOpts{ID: 1})
|
||||
require.NoError(t, err)
|
||||
assert.Equal(t, "Alias Artist", artist.Name)
|
||||
|
||||
truncateTestData(t)
|
||||
}
|
||||
func TestDeleteArtist(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue