X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FLinkDBTest.php;h=25438277e5babf1b7850c3dd65fd92972c7c37aa;hb=3e395a6bc63cba16b0772a382f6cbac0ce4ab906;hp=2523467d19aeb7e688cbc3e873822bdce51ece94;hpb=b2e2aa42e288e0becaa95bf9cc3be679743fc98e;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/LinkDBTest.php b/tests/LinkDBTest.php index 2523467d..25438277 100644 --- a/tests/LinkDBTest.php +++ b/tests/LinkDBTest.php @@ -475,7 +475,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase public function testReorderLinksDesc() { self::$privateLinkDB->reorder('ASC'); - $linkIds = array(42, 4, 1, 0, 7, 6, 8, 41); + $linkIds = array(42, 4, 9, 1, 0, 7, 6, 8, 41); $cpt = 0; foreach (self::$privateLinkDB as $key => $value) { $this->assertEquals($linkIds[$cpt++], $key);