aboutsummaryrefslogtreecommitdiff
path: root/tests/app/Models/SearchTest.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2015-02-12 21:08:37 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2015-02-12 21:08:37 -0500
commit964e67d4a4914008b0f7bc941d77215b2038012c (patch)
tree0dfbe485d5f05e79cffa5ef83b6323e4c0b5dfa9 /tests/app/Models/SearchTest.php
parent9f83aa5fe79618be98cb027bb1070f5a11c51723 (diff)
Add a test to verify if the search input is stored correctly
Diffstat (limited to 'tests/app/Models/SearchTest.php')
-rw-r--r--tests/app/Models/SearchTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/app/Models/SearchTest.php b/tests/app/Models/SearchTest.php
index 6ddfc0370..20ea09433 100644
--- a/tests/app/Models/SearchTest.php
+++ b/tests/app/Models/SearchTest.php
@@ -230,6 +230,7 @@ class SearchTest extends \PHPUnit_Framework_TestCase {
$this->assertEquals($max_pubdate_value, $search->getMaxPubdate());
$this->assertEquals($tags_value, $search->getTags());
$this->assertEquals($search_value, $search->getSearch());
+ $this->assertEquals($input, $search->getRawInput());
}
public function provideMultipleSearch() {