mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix some error in test (wip)
This commit is contained in:
parent
b8d48f04ae
commit
fdc5127c74
@ -388,7 +388,7 @@ final class AccompanyingCourseApiControllerTest extends WebTestCase
|
||||
|
||||
$this->assertTrue(in_array($this->client->getResponse()->getStatusCode(), [200, 422], true));
|
||||
|
||||
if ($response->getStatusCode() === 422) {
|
||||
if ($this->client->getResponse()->getStatusCode() === 422) {
|
||||
$this->markTestSkipped('the next tests should appears only on valid accompanying period');
|
||||
}
|
||||
|
||||
@ -522,7 +522,7 @@ final class AccompanyingCourseApiControllerTest extends WebTestCase
|
||||
|
||||
$this->assertTrue(in_array($this->client->getResponse()->getStatusCode(), [200, 422], true));
|
||||
|
||||
if ($response->getStatusCode() === 422) {
|
||||
if ($this->client->getResponse()->getStatusCode() === 422) {
|
||||
$this->markTestSkipped('the next tests should appears only on valid accompanying period');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user