aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorLucas Cimon <lucas.cimon@gmail.com>2017-06-01 17:55:26 +0200
committerLucas Cimon <lucas.cimon@gmail.com>2017-07-30 16:19:34 +0200
commitf210d94f716acd86fd22c9651f591a778490e8a9 (patch)
tree7076edacd0b0f1d8fc4137ed8054286a1a68576f /tests
parentd5d22a6d07917865c44148ad76f43c65a929a890 (diff)
downloadShaarli-f210d94f716acd86fd22c9651f591a778490e8a9.tar.gz
Shaarli-f210d94f716acd86fd22c9651f591a778490e8a9.tar.zst
Shaarli-f210d94f716acd86fd22c9651f591a778490e8a9.zip
Using only one form in linklist.html + adding untaggedonly filter - fix #885
Diffstat (limited to 'tests')
-rw-r--r--tests/LinkFilterTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/LinkFilterTest.php b/tests/LinkFilterTest.php
index 74162358..d796d3a3 100644
--- a/tests/LinkFilterTest.php
+++ b/tests/LinkFilterTest.php
@@ -63,10 +63,9 @@ class LinkFilterTest extends PHPUnit_Framework_TestCase
63 count(self::$linkFilter->filter(LinkFilter::$FILTER_TAG, '')) 63 count(self::$linkFilter->filter(LinkFilter::$FILTER_TAG, ''))
64 ); 64 );
65 65
66 // Untagged only
67 $this->assertEquals( 66 $this->assertEquals(
68 self::$refDB->countUntaggedLinks(), 67 self::$refDB->countUntaggedLinks(),
69 count(self::$linkFilter->filter(LinkFilter::$FILTER_TAG, false)) 68 count(self::$linkFilter->filter(LinkFilter::$FILTER_TAG, /*$request=*/'', /*$casesensitive=*/false, /*$visibility=*/'all', /*$untaggedonly=*/true))
70 ); 69 );
71 70
72 $this->assertEquals( 71 $this->assertEquals(