You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($response->getStatusCode() === '201') {
$this->addCreatedSpace($user, $response);
}
Investigate what is really happening, and what the consequences are for the test scenarios and scenario cleanup.
Make the appropriate fixes to the test code.
But getStatusCode() returns an int, so this check will never be true.
Expected behavior
addCreatedSpace happens when a new space is created by the tests.
Actual behavior
addCreatedSpace does not happen.
Setup
CI
The text was updated successfully, but these errors were encountered:
phil-davis
changed the title
[QA] status vode check in SpacesContext theUserCreatesASpaceWithQuotaUsingTheGraphApi
[QA] status code check in SpacesContext theUserCreatesASpaceWithQuotaUsingTheGraphApi
Jun 21, 2024
Describe the bug
The code does an exact equal
===
check:Investigate what is really happening, and what the consequences are for the test scenarios and scenario cleanup.
Make the appropriate fixes to the test code.
But
getStatusCode()
returns anint
, so this check will never be true.Expected behavior
addCreatedSpace
happens when a new space is created by the tests.Actual behavior
addCreatedSpace
does not happen.Setup
CI
The text was updated successfully, but these errors were encountered: