aboutsummaryrefslogtreecommitdiffstats
path: root/moonclient
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-11-24 15:01:11 +0100
committerasteroide <thomas.duval@orange.com>2015-11-24 15:01:11 +0100
commit84ca8cc5a94b29eb13b300be1adaa390284e1866 (patch)
tree8c3ce6fc85972267751ec1baf5bb028da144b5a5 /moonclient
parentfca74d4bc3569506a6659880a89aa009dc11f552 (diff)
When deleting a subject, check if the authz/admin intra-extension exists in order to not try to delete a subject in a non-existent intra-extension.
Change-Id: Ief26dccc856ab565b3ba610cf6c7a95c20fab297
Diffstat (limited to 'moonclient')
-rw-r--r--moonclient/moonclient/tests/tests_subjects.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/moonclient/moonclient/tests/tests_subjects.json b/moonclient/moonclient/tests/tests_subjects.json
index 7001e227..37d37f42 100644
--- a/moonclient/moonclient/tests/tests_subjects.json
+++ b/moonclient/moonclient/tests/tests_subjects.json
@@ -36,7 +36,7 @@
},
{
"name": "set_tenant_authz",
- "command": "tenant set --authz $uuid_authz alt_demo",
+ "command": "tenant set --authz $uuid_authz $uuid",
"result": "",
"description": "Connect the authz intra extension to the tenant alt_demo",
"command_options": ""
@@ -57,9 +57,9 @@
},
{
"name": "add_subject",
- "command": "subject add alt_demo",
+ "command": "subject add alt_demo --password nomoresecrete",
"result": "",
- "description": "Connect the authz intra extension to the tenant demo",
+ "description": "Add the alt_demo subject",
"command_options": ""
},
{
@@ -186,9 +186,9 @@
},
{
"name": "add_subject",
- "command": "subject add alt_demo",
+ "command": "subject add alt_demo --password nomoresecrete",
"result": "",
- "description": "Connect the authz intra extension to the tenant alt_demo",
+ "description": "Add the alt_demo subject",
"command_options": ""
},
{