From 342fc1359e1983ca318824aa68722d1f45a30924 Mon Sep 17 00:00:00 2001 From: Swikriti Tripathi Date: Wed, 20 Dec 2023 16:04:28 +0545 Subject: [PATCH] address review --- tests/TestHelpers/GraphHelper.php | 2 +- tests/acceptance/features/bootstrap/GraphContext.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestHelpers/GraphHelper.php b/tests/TestHelpers/GraphHelper.php index 8d8a439efc1..c39c9655623 100644 --- a/tests/TestHelpers/GraphHelper.php +++ b/tests/TestHelpers/GraphHelper.php @@ -1628,7 +1628,7 @@ public static function sendSharingInvitation( * @return ResponseInterface * @throws GuzzleException */ - public static function userGetsResourcesSharedWithThem( + public static function getSharesSharedWithMe( string $baseUrl, string $xRequestId, string $user, diff --git a/tests/acceptance/features/bootstrap/GraphContext.php b/tests/acceptance/features/bootstrap/GraphContext.php index 3638431d2a2..55d5dca0e3b 100644 --- a/tests/acceptance/features/bootstrap/GraphContext.php +++ b/tests/acceptance/features/bootstrap/GraphContext.php @@ -2485,7 +2485,7 @@ public function userSwitchesTheSystemLanguageUsingGraphApi(string $user, string public function userListsTheResourcesSharedWithThemUsingGraphApi(string $user): void { $credentials = $this->getAdminOrUserCredentials($user); $this->featureContext->setResponse( - GraphHelper::userGetsResourcesSharedWithThem( + GraphHelper::getSharesSharedWithMe( $this->featureContext->getBaseUrl(), $this->featureContext->getStepLineRef(), $credentials['username'],