fix status code check

Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
This commit is contained in:
prashant-gurung899
2024-06-21 12:31:53 +05:45
parent 2857151f93
commit 587bf1b251

View File

@@ -711,7 +711,7 @@ class SpacesContext implements Context {
$this->featureContext->getStepLineRef()
);
$this->featureContext->setResponse($response);
if ($response->getStatusCode() === '201') {
if ($response->getStatusCode() === 201) {
$this->addCreatedSpace($user, $response);
}
}