From 33eb02430228e87377a085e7e33d88da2b501e4f Mon Sep 17 00:00:00 2001 From: nirajacharya2 <122071597+nirajacharya2@users.noreply.github.com> Date: Mon, 6 May 2024 09:36:35 +0545 Subject: [PATCH] removing usage of a stepdefination inside another stepdefination in GraphContext.php (#9026) --- tests/acceptance/features/bootstrap/GraphContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/features/bootstrap/GraphContext.php b/tests/acceptance/features/bootstrap/GraphContext.php index 4a634967f..028479530 100644 --- a/tests/acceptance/features/bootstrap/GraphContext.php +++ b/tests/acceptance/features/bootstrap/GraphContext.php @@ -173,8 +173,8 @@ class GraphContext implements Context { * @throws Exception */ public function theUserHasDisabledUser(string $byUser, string $user): void { - $this->theUserDisablesUserToUsingTheGraphApi($byUser, $user); - $this->featureContext->thenTheHTTPStatusCodeShouldBe(200); + $response = $this->editUserUsingTheGraphApi($byUser, $user, null, null, null, null, false); + $this->featureContext->theHTTPStatusCodeShouldBe(200, '', $response); } /**