Skip to content
Snippets Groups Projects
Commit 5884b4d9 authored by lbrun's avatar lbrun
Browse files

dev#25569 : remove shuffle for lastsito type

parent 56ff755b
Branches
Tags
3 merge requests!1267Master,!1209Dev#25569 boite sitotheque afficher les derniers sites d une categorie,!1198Dev#25569 boite sitotheque afficher les derniers sites d une categorie
......@@ -205,12 +205,12 @@ class SitoViewHelperLastTest extends SitoViewHelperTestCase {
/** @test */
public function itemsShouldBeShuffled() {
public function itemsShouldNotBeShuffled() {
$htmls = [];
for ($i=0; $i<10; $i++)
$htmls[] = $this->_helper->getBoite();
$this->assertTrue(1 < count(array_unique($htmls)));
$this->assertCount(1, array_unique($htmls));
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment