diff options
author | Arthur <arthur@hoa.ro> | 2016-06-03 18:30:19 +0200 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-06-03 18:30:19 +0200 |
commit | 92a381f51737de1e4a03c482fe7c43da311ad556 (patch) | |
tree | 888228f4e9a4bca68bc86e78ed3cd6f4c3339e14 /tests/LinkDBTest.php | |
parent | e8f6024400307cbf2b8293073d7ba8cba5caae7e (diff) | |
parent | b1eb5d1d31e3ea256501c08a3ed9aa7183b27466 (diff) | |
download | Shaarli-92a381f51737de1e4a03c482fe7c43da311ad556.tar.gz Shaarli-92a381f51737de1e4a03c482fe7c43da311ad556.tar.zst Shaarli-92a381f51737de1e4a03c482fe7c43da311ad556.zip |
Merge pull request #583 from ArthurHoaro/enhance/tag-case
Fixes #497: ignore case difference between tags
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 b055fe91..30ea4e01 100644 --- a/tests/LinkDBTest.php +++ b/tests/LinkDBTest.php | |||
@@ -290,7 +290,9 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
290 | 'stallman' => 1, | 290 | 'stallman' => 1, |
291 | 'free' => 1, | 291 | 'free' => 1, |
292 | '-exclude' => 1, | 292 | '-exclude' => 1, |
293 | 'stuff' => 2, | 293 | // The DB contains a link with `sTuff` and another one with `stuff` tag. |
294 | // They need to be grouped with the first case found (`sTuff`). | ||
295 | 'sTuff' => 2, | ||
294 | ), | 296 | ), |
295 | self::$publicLinkDB->allTags() | 297 | self::$publicLinkDB->allTags() |
296 | ); | 298 | ); |
@@ -310,7 +312,7 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
310 | 'w3c' => 1, | 312 | 'w3c' => 1, |
311 | 'css' => 1, | 313 | 'css' => 1, |
312 | 'Mercurial' => 1, | 314 | 'Mercurial' => 1, |
313 | 'stuff' => 2, | 315 | 'sTuff' => 2, |
314 | '-exclude' => 1, | 316 | '-exclude' => 1, |
315 | '.hidden' => 1, | 317 | '.hidden' => 1, |
316 | ), | 318 | ), |