From ffad0c43a8c4328f9f3eb0d6536f062a0bb4e1ca Mon Sep 17 00:00:00 2001 From: Guillaume AGNIERAY Date: Tue, 28 Feb 2023 12:16:38 +0100 Subject: [PATCH] Fix tests --- tests/Galette/Core/tests/units/Links.php | 2 +- tests/GaletteTestCase.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Galette/Core/tests/units/Links.php b/tests/Galette/Core/tests/units/Links.php index 8b970f809..4cb18bfb4 100644 --- a/tests/Galette/Core/tests/units/Links.php +++ b/tests/Galette/Core/tests/units/Links.php @@ -362,7 +362,7 @@ class Links extends GaletteTestCase //load member from db $this->adh = new \Galette\Entity\Adherent($this->zdb, $this->adh->id); //member is now up-to-date - $this->string($this->adh->getRowClass())->isIdenticalTo('active cotis-late'); + $this->string($this->adh->getRowClass())->isIdenticalTo('active-account cotis-late'); $this->string($this->adh->due_date)->isIdenticalTo($this->contrib->end_date); $this->boolean($this->adh->isUp2Date())->isFalse(); } diff --git a/tests/GaletteTestCase.php b/tests/GaletteTestCase.php index b72e545c4..a96fad1b8 100644 --- a/tests/GaletteTestCase.php +++ b/tests/GaletteTestCase.php @@ -403,7 +403,7 @@ abstract class GaletteTestCase extends atoum $this->string($adh->getCountry())->isIdenticalTo($expecteds['pays_adh']); $this->string($adh::getSName($this->zdb, $adh->id))->isIdenticalTo('DURAND René'); - $this->string($adh->getRowClass())->isIdenticalTo('active cotis-never'); + $this->string($adh->getRowClass())->isIdenticalTo('active-account cotis-never'); } /** @@ -506,7 +506,7 @@ abstract class GaletteTestCase extends atoum $this->string($adh->getCountry())->isIdenticalTo($expecteds['pays_adh']); $this->string($adh::getSName($this->zdb, $adh->id))->isIdenticalTo('HOARAU Lucas'); - $this->string($adh->getRowClass())->isIdenticalTo('active cotis-never'); + $this->string($adh->getRowClass())->isIdenticalTo('active-account cotis-never'); } /** @@ -696,7 +696,7 @@ abstract class GaletteTestCase extends atoum //load member from db $this->adh = new \Galette\Entity\Adherent($this->zdb, $this->adh->id); //member is now up-to-date - $this->string($this->adh->getRowClass())->isIdenticalTo('active cotis-ok'); + $this->string($this->adh->getRowClass())->isIdenticalTo('active-account cotis-ok'); $this->string($this->adh->due_date)->isIdenticalTo($this->contrib->end_date); $this->boolean($this->adh->isUp2Date())->isTrue(); $this->boolean($contrib->isFee())->isTrue(); -- 2.39.2