diff --git a/tests/azure/azure_test.go b/tests/azure/azure_test.go index 1397dd02..492fd4f8 100644 --- a/tests/azure/azure_test.go +++ b/tests/azure/azure_test.go @@ -283,7 +283,7 @@ func TestAzureDevOpsCloning(t *testing.T) { name: foobar namespace: %s `, tt.name) - name := fmt.Sprintf("./cloning-test/%s/configmap.yaml", tt.name) + name := fmt.Sprintf("cloning-test/%s/configmap.yaml", tt.name) files[name] = strings.NewReader(manifest) } @@ -554,7 +554,7 @@ stringData: require.NoError(t, err) files := make(map[string]io.Reader) - files["./key-vault-sops/secret.enc.yaml"] = r + files["key-vault-sops/secret.enc.yaml"] = r err = commitAndPushAll(repo, files, name) require.NoError(t, err) diff --git a/tests/azure/util_test.go b/tests/azure/util_test.go index 55ae7be8..ba6b88dc 100644 --- a/tests/azure/util_test.go +++ b/tests/azure/util_test.go @@ -168,9 +168,9 @@ patchesStrategicMerge: ` files := make(map[string]io.Reader) - files["./clusters/e2e/flux-system/kustomization.yaml"] = strings.NewReader(kustomizeYaml) - files["./clusters/e2e/flux-system/gotk-components.yaml"] = strings.NewReader("") - files["./clusters/e2e/flux-system/gotk-sync.yaml"] = strings.NewReader("") + files["clusters/e2e/flux-system/kustomization.yaml"] = strings.NewReader(kustomizeYaml) + files["clusters/e2e/flux-system/gotk-components.yaml"] = strings.NewReader("") + files["clusters/e2e/flux-system/gotk-sync.yaml"] = strings.NewReader("") err = commitAndPushAll(repo, files, defaultBranch) if err != nil { return err