]> git.agnieray.net Git - galette.git/blobdiff - tests/Galette/Core/tests/units/Password.php
Fix empty test
[galette.git] / tests / Galette / Core / tests / units / Password.php
index 60a979f65eaebd13c565905733ae4b64bbc2c1a6..7ef0655e654326668955f103021b06500842860b 100644 (file)
@@ -269,7 +269,8 @@ class Password extends atoum
             throw new \LogicException('Error executing query!', 123);
         };
 
-        $pass = new \Galette\Core\Password($this->zdb, true);
+        $pass = new \Galette\Core\Password($this->zdb, false);
+        $this->boolean($pass->cleanExpired())->isFalse();
     }
 
     /**