diff options
author | Arthur <arthur@hoa.ro> | 2016-02-15 21:43:07 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-02-15 21:43:07 +0100 |
commit | bfec695df1205864b46ca7175e1598b184602687 (patch) | |
tree | 9d64988c49fd53978c58c64bbd013a363c5b2d78 /tests/LinkDBTest.php | |
parent | 07c2f73543b358d39b3751c8542966794f28db03 (diff) | |
parent | 522b278b03280ed809025ebbeb3eac284b68bf81 (diff) | |
download | Shaarli-bfec695df1205864b46ca7175e1598b184602687.tar.gz Shaarli-bfec695df1205864b46ca7175e1598b184602687.tar.zst Shaarli-bfec695df1205864b46ca7175e1598b184602687.zip |
Merge pull request #455 from ArthurHoaro/improved-search-454
Improved search: combine AND, exact terms and exclude search.
Diffstat (limited to 'tests/LinkDBTest.php')
-rw-r--r-- | tests/LinkDBTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/LinkDBTest.php b/tests/LinkDBTest.php index 765f771e..b6a273b3 100644 --- a/tests/LinkDBTest.php +++ b/tests/LinkDBTest.php | |||
@@ -278,6 +278,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
278 | 'stallman' => 1, | 278 | 'stallman' => 1, |
279 | 'free' => 1, | 279 | 'free' => 1, |
280 | '-exclude' => 1, | 280 | '-exclude' => 1, |
281 | 'stuff' => 2, | ||
281 | ), | 282 | ), |
282 | self::$publicLinkDB->allTags() | 283 | self::$publicLinkDB->allTags() |
283 | ); | 284 | ); |
@@ -297,6 +298,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
297 | 'w3c' => 1, | 298 | 'w3c' => 1, |
298 | 'css' => 1, | 299 | 'css' => 1, |
299 | 'Mercurial' => 1, | 300 | 'Mercurial' => 1, |
301 | 'stuff' => 2, | ||
300 | '-exclude' => 1, | 302 | '-exclude' => 1, |
301 | '.hidden' => 1, | 303 | '.hidden' => 1, |
302 | ), | 304 | ), |