Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tank
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
tank
Commits
e52104a6
Verified
Commit
e52104a6
authored
4 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Revert "test: comment-out store_test.go:473, 655, 759"
This reverts commit
0c83f7e7
.
parent
c1a51bbd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
store/store_test.go
+9
-12
9 additions, 12 deletions
store/store_test.go
with
9 additions
and
12 deletions
store/store_test.go
+
9
−
12
View file @
e52104a6
...
...
@@ -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 {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment