fix some error in test (wip)

This commit is contained in:
Julien Fastré 2021-12-08 11:57:16 +01:00
parent b8d48f04ae
commit fdc5127c74

View File

@ -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');
}