@@ -67,34 +67,34 @@ func TestValidateAllProfiles(t *testing.T) {
6767 Profiles : []Profile {
6868 {
6969 ProfileName : "profile1" ,
70- CustomProfileFile : "profile1.yaml " ,
70+ CustomProfileFile : "test_data/ profile1.json " ,
7171 Image : "busybox" ,
7272 Namespace : "default" ,
7373 ImagePullPolicy : "Always" ,
7474 },
7575 {
7676 ProfileName : "profile2" ,
77- CustomProfileFile : "profile2.yaml " ,
77+ CustomProfileFile : "test_data/ profile2.json " ,
7878 Image : "busybox" ,
7979 },
8080 {
8181 ProfileName : "profile2" ,
82- CustomProfileFile : "profile2.yaml " ,
82+ CustomProfileFile : "test_data/ profile2.json " ,
8383 },
8484 },
8585 },
8686 wantedConfig : CustomDebugProfile {
8787 Profiles : []Profile {
8888 {
8989 ProfileName : "profile1" ,
90- CustomProfileFile : "profile1.yaml " ,
90+ CustomProfileFile : "test_data/ profile1.json " ,
9191 Image : "busybox" ,
9292 Namespace : "default" ,
9393 ImagePullPolicy : "Always" ,
9494 },
9595 {
9696 ProfileName : "profile2" ,
97- CustomProfileFile : "profile2.yaml " ,
97+ CustomProfileFile : "test_data/ profile2.json " ,
9898 Image : "busybox" ,
9999 },
100100 },
@@ -106,7 +106,7 @@ func TestValidateAllProfiles(t *testing.T) {
106106 Profiles : []Profile {
107107 {
108108 ProfileName : "profile1" ,
109- CustomProfileFile : "profile1.yaml " ,
109+ CustomProfileFile : "test_data/ profile1.json " ,
110110 Image : "busybox" ,
111111 Namespace : "default" ,
112112 ImagePullPolicy : "Always" ,
@@ -124,13 +124,13 @@ func TestValidateAllProfiles(t *testing.T) {
124124 Profiles : []Profile {
125125 {
126126 ProfileName : "profile1" ,
127- CustomProfileFile : "profile1.yaml " ,
127+ CustomProfileFile : "test_data/ profile1.json " ,
128128 Image : "busybox" ,
129129 Namespace : "default" ,
130130 ImagePullPolicy : "Always" ,
131131 },
132132 {
133- CustomProfileFile : "profile2.yaml " ,
133+ CustomProfileFile : "test_data/ profile2.json " ,
134134 },
135135 },
136136 },
0 commit comments