diff options
author | VirtualTam <virtualtam@flibidi.net> | 2016-08-02 15:37:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-02 15:37:43 +0200 |
commit | 58f0660f80b8f6fa29f7ffa99a33edc76d841850 (patch) | |
tree | 2ab5f36db51fb71188c4d978682027f8e1a7e707 /tests | |
parent | efc0c865ba914e75a6c3c9220450d13f752c7afa (diff) | |
parent | 9866b40814a120f1a019f9f2c8ef66f44e1ddfcb (diff) | |
download | Shaarli-58f0660f80b8f6fa29f7ffa99a33edc76d841850.tar.gz Shaarli-58f0660f80b8f6fa29f7ffa99a33edc76d841850.tar.zst Shaarli-58f0660f80b8f6fa29f7ffa99a33edc76d841850.zip |
Merge pull request #618 from ArthurHoaro/tagclean
Better whitespace handling in tags
Diffstat (limited to 'tests')
-rw-r--r-- | tests/LinkDBTest.php | 4 | ||||
-rw-r--r-- | tests/utils/ReferenceLinkDB.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/LinkDBTest.php b/tests/LinkDBTest.php index 46956f20..31306069 100644 --- a/tests/LinkDBTest.php +++ b/tests/LinkDBTest.php | |||
@@ -317,6 +317,10 @@ class LinkDBTest extends PHPUnit_Framework_TestCase | |||
317 | '-exclude' => 1, | 317 | '-exclude' => 1, |
318 | '.hidden' => 1, | 318 | '.hidden' => 1, |
319 | 'hashtag' => 2, | 319 | 'hashtag' => 2, |
320 | 'tag1' => 1, | ||
321 | 'tag2' => 1, | ||
322 | 'tag3' => 1, | ||
323 | 'tag4' => 1, | ||
320 | ), | 324 | ), |
321 | self::$privateLinkDB->allTags() | 325 | self::$privateLinkDB->allTags() |
322 | ); | 326 | ); |
diff --git a/tests/utils/ReferenceLinkDB.php b/tests/utils/ReferenceLinkDB.php index fe16baac..fcc7a4f9 100644 --- a/tests/utils/ReferenceLinkDB.php +++ b/tests/utils/ReferenceLinkDB.php | |||
@@ -75,7 +75,7 @@ class ReferenceLinkDB | |||
75 | '', | 75 | '', |
76 | 1, | 76 | 1, |
77 | '20121206_182539', | 77 | '20121206_182539', |
78 | 'dev cartoon' | 78 | 'dev cartoon tag1 tag2 tag3 tag4 ' |
79 | ); | 79 | ); |
80 | } | 80 | } |
81 | 81 | ||