Skip to content
Snippets Groups Projects
Verified Commit e52104a6 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Revert "test: comment-out store_test.go:473, 655, 759"

This reverts commit 0c83f7e7.
parent c1a51bbd
No related branches found
No related tags found
No related merge requests found
......@@ -468,10 +468,9 @@ func TestFilesUpdate(t *testing.T) {
}
// clean up so next test can run with a clean DB, TODO: remove as soon as newTestStore() can re-init the DB
// FIXME: commented-out for https://gitlab.servus.at/aura/tank/-/issues/82
//if err = store.DeleteShow(testShow2); err != nil {
// t.Fatalf("unexpected error: %v", err)
//}
if err = store.DeleteShow(testShow2); err != nil {
t.Fatalf("unexpected error: %v", err)
}
}
func TestFilesDelete(t *testing.T) {
......@@ -652,10 +651,9 @@ func TestPlaylistsListCreateDelete(t *testing.T) {
}
// clean up so next test can run with a clean DB, TODO: remove as soon as newTestStore() can re-init the DB
// FIXME: commented-out for https://gitlab.servus.at/aura/tank/-/issues/82
//if err = store.DeleteShow(testShow1); err != nil {
// t.Fatalf("unexpected error: %v", err)
//}
if err = store.DeleteShow(testShow1); err != nil {
t.Fatalf("unexpected error: %v", err)
}
// FIXME: commented-out for https://gitlab.servus.at/aura/tank/-/issues/82
//if err = store.DeletePlaylist(testShowID, testPlaylist.ID); err != nil {
......@@ -758,10 +756,9 @@ func TestFileUsage(t *testing.T) {
t.Fatalf("usage reports invalid playlist-list: %+v", errInUse.Playlists)
}
// FIXME: commented-out for https://gitlab.servus.at/aura/tank/-/issues/82
//if err = store.DeletePlaylist(list.ShowID, list.ID); err != nil {
// t.Fatalf("unexpected error: %v", err)
//}
if err = store.DeletePlaylist(list.ShowID, list.ID); err != nil {
t.Fatalf("unexpected error: %v", err)
}
// FIXME: commented-out for https://gitlab.servus.at/aura/tank/-/issues/82
//if err = store.DeleteFile(file.ShowID, file.ID); err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment