chore(unit-test): simplify teardown EE-5536 (#9015)

This commit is contained in:
andres-portainer
2023-05-30 11:02:22 -03:00
committed by GitHub
parent b498cd657f
commit eda07614ce
37 changed files with 110 additions and 218 deletions

View File

@@ -10,8 +10,7 @@ import (
)
func TestMigrateStackEntryPoint(t *testing.T) {
_, store, teardown := MustNewTestStore(t, false, true)
defer teardown()
_, store := MustNewTestStore(t, false, true)
stackService := store.Stack()