]> git.agnieray.net Git - galette.git/commitdiff
Fix tests
authorGuillaume AGNIERAY <dev@agnieray.net>
Tue, 28 Feb 2023 11:16:38 +0000 (12:16 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Wed, 1 Mar 2023 06:54:26 +0000 (07:54 +0100)
tests/Galette/Core/tests/units/Links.php
tests/GaletteTestCase.php

index 8b970f80993b3e002e7fc78538ff90271745c975..4cb18bfb43b9c36433583aefbc1e6a093e043d56 100644 (file)
@@ -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();
     }
index b72e545c42bfe93db11bbcfda9b9717705b61cab..a96fad1b87e4340417f864132651007c08f789ae 100644 (file)
@@ -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();