From d0087f98b8dfaa3740ac1f4610469050d87c4a45 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 30 Dec 2022 17:32:21 +0545 Subject: [PATCH] Apply suggestions from code review --- tests/TestHelpers/GraphHelper.php | 2 +- tests/acceptance/features/apiGraph/getUser.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestHelpers/GraphHelper.php b/tests/TestHelpers/GraphHelper.php index 2fbf2c74aa..2056fb6d8c 100644 --- a/tests/TestHelpers/GraphHelper.php +++ b/tests/TestHelpers/GraphHelper.php @@ -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; diff --git a/tests/acceptance/features/apiGraph/getUser.feature b/tests/acceptance/features/apiGraph/getUser.feature index 4a849165a8..b125df5558 100644 --- a/tests/acceptance/features/apiGraph/getUser.feature +++ b/tests/acceptance/features/apiGraph/getUser.feature @@ -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