Skip to content

Commit

Permalink
Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbins228 authored and openshift-merge-bot[bot] committed Feb 22, 2024
1 parent 8cbb7aa commit 8f89164
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/test-case-no-mcad.yamls
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
- configMap:
items:
- key: ca-bundle.crt
path: odh-custom-ca-bundle.crt
path: odh-trusted-ca-bundle.crt
name: odh-trusted-ca-bundle
optional: true
name: odh-trusted-ca-cert
Expand Down Expand Up @@ -183,7 +183,7 @@ spec:
- configMap:
items:
- key: ca-bundle.crt
path: odh-custom-ca-bundle.crt
path: odh-trusted-ca-bundle.crt
name: odh-trusted-ca-bundle
optional: true
name: odh-trusted-ca-cert
Expand Down
4 changes: 2 additions & 2 deletions tests/test-case-prio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ spec:
- configMap:
items:
- key: ca-bundle.crt
path: odh-custom-ca-bundle.crt
path: odh-trusted-ca-bundle.crt
name: odh-trusted-ca-bundle
optional: true
name: odh-trusted-ca-cert
Expand Down Expand Up @@ -215,7 +215,7 @@ spec:
- configMap:
items:
- key: ca-bundle.crt
path: odh-custom-ca-bundle.crt
path: odh-trusted-ca-bundle.crt
name: odh-trusted-ca-bundle
optional: true
name: odh-trusted-ca-cert
Expand Down
4 changes: 2 additions & 2 deletions tests/test-case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ spec:
- configMap:
items:
- key: ca-bundle.crt
path: odh-custom-ca-bundle.crt
path: odh-trusted-ca-bundle.crt
name: odh-trusted-ca-bundle
optional: true
name: odh-trusted-ca-cert
Expand Down Expand Up @@ -212,7 +212,7 @@ spec:
- configMap:
items:
- key: ca-bundle.crt
path: odh-custom-ca-bundle.crt
path: odh-trusted-ca-bundle.crt
name: odh-trusted-ca-bundle
optional: true
name: odh-trusted-ca-cert
Expand Down
4 changes: 3 additions & 1 deletion tests/unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,9 @@ def test_enable_local_interactive(mocker):
"name": "odh-trusted-ca-cert",
"configMap": {
"name": "odh-trusted-ca-bundle",
"items": [{"key": "ca-bundle.crt", "path": "odh-custom-ca-bundle.crt"}],
"items": [
{"key": "ca-bundle.crt", "path": "odh-trusted-ca-bundle.crt"}
],
"optional": True,
},
},
Expand Down

0 comments on commit 8f89164

Please sign in to comment.