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

View File

@@ -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);
}
/**