Merge pull request #9430 from prashant-gurung899/check-status-code
[full-ci][tests-only] fix status code check in theUserCreatesASpaceWithQuotaUsingTheGraphApi in SpacesContext
This commit is contained in:
@@ -711,7 +711,7 @@ class SpacesContext implements Context {
|
|||||||
$this->featureContext->getStepLineRef()
|
$this->featureContext->getStepLineRef()
|
||||||
);
|
);
|
||||||
$this->featureContext->setResponse($response);
|
$this->featureContext->setResponse($response);
|
||||||
if ($response->getStatusCode() === '201') {
|
if ($response->getStatusCode() === 201) {
|
||||||
$this->addCreatedSpace($user, $response);
|
$this->addCreatedSpace($user, $response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user