Skip to content

Commit c676250

Browse files
committed
move crd upgrade safety testdata into crdupgradesafety package
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
1 parent 0206ad4 commit c676250

File tree

11 files changed

+1
-1
lines changed

11 files changed

+1
-1
lines changed

internal/operator-controller/rukpak/preflights/crdupgradesafety/crdupgradesafety_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func newMockPreflight(crd *apiextensionsv1.CustomResourceDefinition, err error)
3838
}, preflightOpts...)
3939
}
4040

41-
const crdFolder string = "../../../../../testdata/manifests"
41+
const crdFolder string = "testdata/manifests"
4242

4343
func getCrdFromManifestFile(t *testing.T, oldCrdFile string) *apiextensionsv1.CustomResourceDefinition {
4444
if oldCrdFile == "" {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)