diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-05-25 15:54:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-25 15:54:20 +0200 |
commit | 3e395a6bc63cba16b0772a382f6cbac0ce4ab906 (patch) | |
tree | 220eaf3400aeeea821b7e150855a1d44f1b5bfe9 /tests/LinkDBTest.php | |
parent | b2e2aa42e288e0becaa95bf9cc3be679743fc98e (diff) | |
parent | 7d86f40bdb2135655b5b4fe8cbcc1ac102114f86 (diff) | |
download | Shaarli-3e395a6bc63cba16b0772a382f6cbac0ce4ab906.tar.gz Shaarli-3e395a6bc63cba16b0772a382f6cbac0ce4ab906.tar.zst Shaarli-3e395a6bc63cba16b0772a382f6cbac0ce4ab906.zip |
Merge pull request #841 from ArthurHoaro/feature/search-no-tag
Empty tag search will look for not tagged links
Diffstat (limited to 'tests/LinkDBTest.php')
-rw-r--r-- | tests/LinkDBTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
475 | public function testReorderLinksDesc() | 475 | public function testReorderLinksDesc() |
476 | { | 476 | { |
477 | self::$privateLinkDB->reorder('ASC'); | 477 | self::$privateLinkDB->reorder('ASC'); |
478 | $linkIds = array(42, 4, 1, 0, 7, 6, 8, 41); | 478 | $linkIds = array(42, 4, 9, 1, 0, 7, 6, 8, 41); |
479 | $cpt = 0; | 479 | $cpt = 0; |
480 | foreach (self::$privateLinkDB as $key => $value) { | 480 | foreach (self::$privateLinkDB as $key => $value) { |
481 | $this->assertEquals($linkIds[$cpt++], $key); | 481 | $this->assertEquals($linkIds[$cpt++], $key); |