Skip to content

Commit c0b9d07

Browse files
authored
fix: update the used repository name (#656)
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it #### Which issue(s) this PR fixes <!-- Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Signed-off-by: Gergely Brautigam <[email protected]>
1 parent 2f8784e commit c0b9d07

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

e2e/same_resource_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,20 @@ func TestSameResource(t *testing.T) {
6161
},
6262
}
6363

64-
gitRepositoryName := "ocm-controller-test"
6564
testName := "testOCMControllerMultipleSameResources"
6665

6766
setupComponentFeature := features.New("Setup Component").Setup(setup.AddComponentVersions(component))
6867
componentVersionFeature := features.New("Create Manifests").
6968
Setup(setup.AddFilesToGitRepository(setup.File{
70-
RepoName: gitRepositoryName,
69+
RepoName: testRepoSameName,
7170
SourceFilepath: filepath.Join(testName, "component_version.yaml"),
7271
DestFilepath: destinationPrefix + testName + "component_version.yaml",
7372
}, setup.File{
74-
RepoName: gitRepositoryName,
73+
RepoName: testRepoSameName,
7574
SourceFilepath: filepath.Join(testName, "resource1.yaml"),
7675
DestFilepath: destinationPrefix + testName + "resource1.yaml",
7776
}, setup.File{
78-
RepoName: gitRepositoryName,
77+
RepoName: testRepoSameName,
7978
SourceFilepath: filepath.Join(testName, "resource2.yaml"),
8079
DestFilepath: destinationPrefix + testName + "resource2.yaml",
8180
})).Assess("check that component version component_version.yaml is ready and valid", checkIsComponentVersionReady("same-resource-component", ocmNamespace))

0 commit comments

Comments
 (0)