test: ensure catalogue is cloned

This commit is contained in:
2023-09-30 08:19:16 +02:00
parent b53fd2689c
commit 892f6c0730
4 changed files with 14 additions and 7 deletions

View File

@ -4,6 +4,7 @@ import (
"path"
"testing"
"coopcloud.tech/abra/pkg/catalogue"
"coopcloud.tech/abra/pkg/config"
"coopcloud.tech/abra/pkg/recipe"
"coopcloud.tech/abra/pkg/upstream/stack"
@ -12,6 +13,10 @@ import (
)
func TestReadSecretsConfig(t *testing.T) {
if err := catalogue.EnsureCatalogue(); err != nil {
t.Fatal(err)
}
offline := true
recipe, err := recipe.Get("matrix-synapse", offline)
if err != nil {