mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-18 15:13:32 -05:00
Apply suggestions from code review
This commit is contained in:
@@ -64,7 +64,7 @@ class GraphHelper {
|
||||
* @return string
|
||||
*/
|
||||
public static function separateAndGetValueForKey(string $keyName, array $actualDriveInformation): string {
|
||||
// break the segment with @@@ to find the actual value from the actual drive infromation
|
||||
// break the segment with @@@ to find the actual value from the actual drive information
|
||||
$separatedKey = explode("@@@", $keyName);
|
||||
// this stores the actual value of each key from drive information response used for assertion
|
||||
$actualKeyValue = $actualDriveInformation;
|
||||
|
||||
@@ -35,7 +35,7 @@ Feature: get users
|
||||
| Brian Murphy | %uuid_v4% | brian@example.org | Brian |
|
||||
|
||||
|
||||
Scenario: non-admin user tries get all user
|
||||
Scenario: non-admin user tries to get all users
|
||||
When user "Brian" tries to get all users using the Graph API
|
||||
Then the HTTP status code should be "401"
|
||||
And the last response should be an unauthorized response
|
||||
|
||||
Reference in New Issue
Block a user