-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from silinternational/develop
Release 2.3.0
- Loading branch information
Showing
4 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,7 @@ Feature: Formatting requests for sending to the ID Broker API | |
And I provide an "email" of "[email protected]" | ||
And I provide a "locked" of "no" | ||
And I provide an "active" of "yes" | ||
And I provide a "require_mfa" of "no" | ||
When I call createUser | ||
Then the method should be "POST" | ||
And the url should be "https://api.example.com/user" | ||
|
@@ -71,7 +72,8 @@ Feature: Formatting requests for sending to the ID Broker API | |
"username": "john_smith", | ||
"email": "[email protected]", | ||
"locked": "no", | ||
"active": "yes" | ||
"active": "yes", | ||
"require_mfa": "no" | ||
} | ||
""" | ||
|
||
|
@@ -82,6 +84,7 @@ Feature: Formatting requests for sending to the ID Broker API | |
And I provide a "display_name" of "Johnny" | ||
And I provide a "locked" of "yes" | ||
And I provide an "active" of "yes" | ||
And I provide a "require_mfa" of "yes" | ||
When I call updateUser | ||
Then the method should be "PUT" | ||
And the url should be "https://api.example.com/user/12345" | ||
|
@@ -91,7 +94,8 @@ Feature: Formatting requests for sending to the ID Broker API | |
{ | ||
"display_name": "Johnny", | ||
"locked": "yes", | ||
"active": "yes" | ||
"active": "yes", | ||
"require_mfa": "yes" | ||
} | ||
""" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,12 @@ Feature: Handling responses from the ID Broker API | |
"username": "john_smith", | ||
"email": "[email protected]", | ||
"active": "yes", | ||
"locked": "no" | ||
"locked": "no", | ||
"mfa": { | ||
"prompt": "no", | ||
"nag": "yes", | ||
"options": [] | ||
} | ||
} | ||
""" | ||
When I call authenticate with the necessary data | ||
|
@@ -76,7 +81,12 @@ Feature: Handling responses from the ID Broker API | |
"username": "john_smith", | ||
"email": "[email protected]", | ||
"active": "yes", | ||
"locked": "no" | ||
"locked": "no", | ||
"mfa": { | ||
"prompt": "no", | ||
"nag": "yes", | ||
"options": [] | ||
} | ||
} | ||
""" | ||
When I call getUser with the necessary data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters