diff options
Diffstat (limited to 'tests/app/Models/SearchTest.php')
| -rw-r--r-- | tests/app/Models/SearchTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/app/Models/SearchTest.php b/tests/app/Models/SearchTest.php index bef548b02..b43834147 100644 --- a/tests/app/Models/SearchTest.php +++ b/tests/app/Models/SearchTest.php @@ -51,6 +51,7 @@ class SearchTest extends PHPUnit\Framework\TestCase { public function provideIntitleSearch() { return array( array('intitle:word1', array('word1'), null), + array('intitle:word1-word2', array('word1-word2'), null), array('intitle:word1 word2', array('word1'), array('word2')), array('intitle:"word1 word2"', array('word1 word2'), null), array("intitle:'word1 word2'", array('word1 word2'), null), @@ -88,6 +89,7 @@ class SearchTest extends PHPUnit\Framework\TestCase { public function provideAuthorSearch() { return array( array('author:word1', array('word1'), null), + array('author:word1-word2', array('word1-word2'), null), array('author:word1 word2', array('word1'), array('word2')), array('author:"word1 word2"', array('word1 word2'), null), array("author:'word1 word2'", array('word1 word2'), null), |
