mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-06 08:17:42 -05:00
fix status code check
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user