acceptance-features/directory/hostfactory/create.feature in conjur-cli-5.1.2 vs acceptance-features/directory/hostfactory/create.feature in conjur-cli-5.2.0
- old
+ new
@@ -3,10 +3,9 @@
Background:
Scenario: Create a host factory successfully
Given I successfully run `conjur layer create --as-group $ns/security_admin $ns/layer`
Then I successfully run `conjur hostfactory create --as-group $ns/security_admin --layer $ns/layer $ns/hostfactory`
- And the JSON should have "deputy_api_key"
Scenario: The client role can use itself as the hostfactory role
Given I successfully run `conjur user create unprivileged@$ns`
And I successfully run `conjur layer create $ns/layer`
When I run `conjur hostfactory create --as-role user:unprivileged@$ns --layer $ns/layer $ns/hostfactory`