From 587bf1b2512241030cf85bb7bf343e12f0dac4dd Mon Sep 17 00:00:00 2001 From: prashant-gurung899 Date: Fri, 21 Jun 2024 12:31:53 +0545 Subject: [PATCH] fix status code check Signed-off-by: prashant-gurung899 --- tests/acceptance/features/bootstrap/SpacesContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/features/bootstrap/SpacesContext.php b/tests/acceptance/features/bootstrap/SpacesContext.php index c7c62e4960d..f1c2f6443be 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -711,7 +711,7 @@ public function theUserCreatesASpaceWithQuotaUsingTheGraphApi( $this->featureContext->getStepLineRef() ); $this->featureContext->setResponse($response); - if ($response->getStatusCode() === '201') { + if ($response->getStatusCode() === 201) { $this->addCreatedSpace($user, $response); } }