diff --git a/library/Class/Cosmogramme/Integration/PhasePatrons.php b/library/Class/Cosmogramme/Integration/PhasePatrons.php index 17a36b41aefb011aa6e34f886635588f7ffecf33..e8e5fcce3ad35710e0903eb572087a6b54ea03d5 100644 --- a/library/Class/Cosmogramme/Integration/PhasePatrons.php +++ b/library/Class/Cosmogramme/Integration/PhasePatrons.php @@ -115,7 +115,7 @@ class Class_Cosmogramme_Integration_PhasePatrons extends Class_Cosmogramme_Integ return $this->_('Configuration: colonne %s requise', $column); }, - ['IDABON', 'NOM', 'PASSWORD'] + ['IDABON', 'PASSWORD'] )); array_map([$this->_log, 'addError'], $errors); diff --git a/tests/library/Class/Cosmogramme/Integration/PhasePatronsTest.php b/tests/library/Class/Cosmogramme/Integration/PhasePatronsTest.php index 9d7b887129b65a5c03c604e04a6ec8efb1d96576..76fa11a5c8afbbb0ca86cebf9f453d9901328b90 100644 --- a/tests/library/Class/Cosmogramme/Integration/PhasePatronsTest.php +++ b/tests/library/Class/Cosmogramme/Integration/PhasePatronsTest.php @@ -205,7 +205,6 @@ class PhasePatronsInvalidProfilTest extends PhasePatronsTestCase { return [ [ 'IDABON' ], [ 'PASSWORD' ], - [ 'NOM' ] ]; } @@ -219,7 +218,7 @@ class PhasePatronsInvalidProfilTest extends PhasePatronsTestCase { ->setAttributs([1 => ['champs' => str_replace($column, '', - 'IDABON;ID_SIGB;ORDREABON;NOM;PRENOM;PASSWORD;MAIL; NAISSANCE; DATE_FIN ')]]) + 'IDABON;ID_SIGB;ORDREABON;NOM;PASSWORD;MAIL; NAISSANCE; DATE_FIN ')]]) ->assertSave(); $this->_phase->run();