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

@ -3,10 +3,15 @@ package recipe
import (
"testing"
"coopcloud.tech/abra/pkg/catalogue"
"github.com/stretchr/testify/assert"
)
func TestGetVersionLabelLocalDoesNotUseTimeoutLabel(t *testing.T) {
if err := catalogue.EnsureCatalogue(); err != nil {
t.Fatal(err)
}
offline := true
recipe, err := Get("traefik", offline)
if err != nil {