removing usage of a stepdefination inside another stepdefination in GraphContext.php (#9026)

This commit is contained in:
nirajacharya2
2024-05-06 09:36:35 +05:45
committed by GitHub
parent 22a7ee7545
commit 33eb024302
@@ -173,8 +173,8 @@ class GraphContext implements Context {
* @throws Exception * @throws Exception
*/ */
public function theUserHasDisabledUser(string $byUser, string $user): void { public function theUserHasDisabledUser(string $byUser, string $user): void {
$this->theUserDisablesUserToUsingTheGraphApi($byUser, $user); $response = $this->editUserUsingTheGraphApi($byUser, $user, null, null, null, null, false);
$this->featureContext->thenTheHTTPStatusCodeShouldBe(200); $this->featureContext->theHTTPStatusCodeShouldBe(200, '', $response);
} }
/** /**