feat: remote recipes

This commit is contained in:
2024-07-08 15:13:13 +02:00
parent 1a3ec7a107
commit d7a870b887
11 changed files with 107 additions and 56 deletions

View File

@ -85,8 +85,7 @@ func TestGetComposeFiles(t *testing.T) {
}
for _, test := range tests {
r2 := recipe.Get(r.Name)
composeFiles, err := r2.GetComposeFiles(test.appEnv)
composeFiles, err := r.GetComposeFiles(test.appEnv)
if err != nil {
t.Fatal(err)
}
@ -107,8 +106,7 @@ func TestGetComposeFilesError(t *testing.T) {
}
for _, test := range tests {
r2 := recipe.Get(r.Name)
_, err := r2.GetComposeFiles(test.appEnv)
_, err := r.GetComposeFiles(test.appEnv)
if err == nil {
t.Fatalf("should have failed: %v", test.appEnv)
}