Skip to content

Commit 8f89164

Browse files
Fixed unit tests
1 parent 8cbb7aa commit 8f89164

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

tests/test-case-no-mcad.yamls

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ spec:
9696
- configMap:
9797
items:
9898
- key: ca-bundle.crt
99-
path: odh-custom-ca-bundle.crt
99+
path: odh-trusted-ca-bundle.crt
100100
name: odh-trusted-ca-bundle
101101
optional: true
102102
name: odh-trusted-ca-cert
@@ -183,7 +183,7 @@ spec:
183183
- configMap:
184184
items:
185185
- key: ca-bundle.crt
186-
path: odh-custom-ca-bundle.crt
186+
path: odh-trusted-ca-bundle.crt
187187
name: odh-trusted-ca-bundle
188188
optional: true
189189
name: odh-trusted-ca-cert

tests/test-case-prio.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ spec:
127127
- configMap:
128128
items:
129129
- key: ca-bundle.crt
130-
path: odh-custom-ca-bundle.crt
130+
path: odh-trusted-ca-bundle.crt
131131
name: odh-trusted-ca-bundle
132132
optional: true
133133
name: odh-trusted-ca-cert
@@ -215,7 +215,7 @@ spec:
215215
- configMap:
216216
items:
217217
- key: ca-bundle.crt
218-
path: odh-custom-ca-bundle.crt
218+
path: odh-trusted-ca-bundle.crt
219219
name: odh-trusted-ca-bundle
220220
optional: true
221221
name: odh-trusted-ca-cert

tests/test-case.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ spec:
125125
- configMap:
126126
items:
127127
- key: ca-bundle.crt
128-
path: odh-custom-ca-bundle.crt
128+
path: odh-trusted-ca-bundle.crt
129129
name: odh-trusted-ca-bundle
130130
optional: true
131131
name: odh-trusted-ca-cert
@@ -212,7 +212,7 @@ spec:
212212
- configMap:
213213
items:
214214
- key: ca-bundle.crt
215-
path: odh-custom-ca-bundle.crt
215+
path: odh-trusted-ca-bundle.crt
216216
name: odh-trusted-ca-bundle
217217
optional: true
218218
name: odh-trusted-ca-cert

tests/unit_test.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -2717,7 +2717,9 @@ def test_enable_local_interactive(mocker):
27172717
"name": "odh-trusted-ca-cert",
27182718
"configMap": {
27192719
"name": "odh-trusted-ca-bundle",
2720-
"items": [{"key": "ca-bundle.crt", "path": "odh-custom-ca-bundle.crt"}],
2720+
"items": [
2721+
{"key": "ca-bundle.crt", "path": "odh-trusted-ca-bundle.crt"}
2722+
],
27212723
"optional": True,
27222724
},
27232725
},

0 commit comments

Comments
 (0)