diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-08-03 16:27:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-03 16:27:59 +0200 |
commit | f09e1e318e0b1c72aa659c20b715be508009175f (patch) | |
tree | 68d84f2583d5aa799128e3ec418e20eda4ba2c5f /tests | |
parent | f5568f87b1a23b36f8d3623aacfbb810d1d60dc0 (diff) | |
parent | f210d94f716acd86fd22c9651f591a778490e8a9 (diff) | |
download | Shaarli-f09e1e318e0b1c72aa659c20b715be508009175f.tar.gz Shaarli-f09e1e318e0b1c72aa659c20b715be508009175f.tar.zst Shaarli-f09e1e318e0b1c72aa659c20b715be508009175f.zip |
Merge pull request #889 from Lucas-C/master
Using only one form in linklist.html - fix #885
Diffstat (limited to 'tests')
-rw-r--r-- | tests/LinkFilterTest.php | 3 |
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( |