chore(tests): avoid initializing the DB data when not needed BE-12801 (#2233)

This commit is contained in:
andres-portainer
2026-04-07 15:49:57 -03:00
committed by GitHub
parent 2240d0516c
commit 30ca5e298c
18 changed files with 35 additions and 35 deletions
@@ -58,7 +58,7 @@ func TestHandler_getDockerStacks(t *testing.T) {
Type: portainer.DockerComposeStack,
}
ok, store := datastore.MustNewTestStore(t, true, false)
ok, store := datastore.MustNewTestStore(t, false, false)
is.True(ok)
is.NoError(store.UpdateTx(func(tx dataservices.DataStoreTx) error {