diff options
author | Arthur <arthur@hoa.ro> | 2016-02-15 21:12:39 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-02-15 21:12:39 +0100 |
commit | 1e7331126d81a5759ab91c221f7e0f164aeebfb5 (patch) | |
tree | a5d084066e1e49fae01ae72f102b3eab2fb6d8ac /tests/LinkDBTest.php | |
parent | 6e607ca613b47e17f7516e94adfee930d4f3e1e8 (diff) | |
parent | ce354bf1a61ce2478529ad558b24cdf9678c398a (diff) | |
download | Shaarli-1e7331126d81a5759ab91c221f7e0f164aeebfb5.tar.gz Shaarli-1e7331126d81a5759ab91c221f7e0f164aeebfb5.tar.zst Shaarli-1e7331126d81a5759ab91c221f7e0f164aeebfb5.zip |
Merge pull request #446 from ArthurHoaro/search-tag-exclude
Add exclusion in tag search
Diffstat (limited to 'tests/LinkDBTest.php')
-rw-r--r-- | tests/LinkDBTest.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/LinkDBTest.php b/tests/LinkDBTest.php index 3b1a2057..06edea79 100644 --- a/tests/LinkDBTest.php +++ b/tests/LinkDBTest.php | |||
@@ -276,7 +276,8 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
276 | 'media' => 1, | 276 | 'media' => 1, |
277 | 'software' => 1, | 277 | 'software' => 1, |
278 | 'stallman' => 1, | 278 | 'stallman' => 1, |
279 | 'free' => 1 | 279 | 'free' => 1, |
280 | '-exclude' => 1, | ||
280 | ), | 281 | ), |
281 | self::$publicLinkDB->allTags() | 282 | self::$publicLinkDB->allTags() |
282 | ); | 283 | ); |
@@ -295,7 +296,8 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
295 | 'html' => 1, | 296 | 'html' => 1, |
296 | 'w3c' => 1, | 297 | 'w3c' => 1, |
297 | 'css' => 1, | 298 | 'css' => 1, |
298 | 'Mercurial' => 1 | 299 | 'Mercurial' => 1, |
300 | '-exclude' => 1, | ||
299 | ), | 301 | ), |
300 | self::$privateLinkDB->allTags() | 302 | self::$privateLinkDB->allTags() |
301 | ); | 303 | ); |