fix unit tests as well as missing code
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m23s
API CI/CD / Build frontend assets (push) Successful in 2m18s
API CI/CD / Security audit (push) Successful in 31s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m23s
API CI/CD / Build frontend assets (push) Successful in 2m18s
API CI/CD / Security audit (push) Successful in 31s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
+5
-1
@@ -49,7 +49,11 @@ class ApiBatch13AccountRecoveryCredentialChangeContractTest extends FullSurfaceE
|
||||
]);
|
||||
|
||||
$this->assertControlled($response, $method, $route->uri());
|
||||
$this->assertNotContains($response->getStatusCode(), [200, 201]);
|
||||
$this->assertNotContains(
|
||||
$response->getStatusCode(),
|
||||
[200, 201],
|
||||
sprintf('%s %s unexpectedly allowed low-privilege credential mutation.', $method, $route->uri())
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user