Skip to content

Commit d2d194c

Browse files
author
Jakub Smolar
authored
Merge pull request #594 from jsmolar/jsmolar2
Fix metadata tests
2 parents 7ff30c8 + b6aedca commit d2d194c

File tree

1 file changed

+2
-4
lines changed
  • testsuite/tests/singlecluster/authorino/metadata

1 file changed

+2
-4
lines changed

testsuite/tests/singlecluster/authorino/metadata/conftest.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66

77

88
@pytest.fixture(scope="module")
9-
def create_client_secret(request, cluster):
9+
def create_client_secret(request, cluster, authorino):
1010
"""Creates Client Secret, used by Authorino to start the authentication with the UMA registry"""
1111

1212
def _create_secret(name, client_id, client_secret):
1313
model = {
1414
"apiVersion": "v1",
1515
"kind": "Secret",
16-
"metadata": {
17-
"name": name,
18-
},
16+
"metadata": {"name": name, "namespace": authorino.namespace()},
1917
"stringData": {"clientID": client_id, "clientSecret": client_secret},
2018
"type": "Opaque",
2119
}

0 commit comments

Comments
 (0)