From 964e67d4a4914008b0f7bc941d77215b2038012c Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Thu, 12 Feb 2015 21:08:37 -0500 Subject: Add a test to verify if the search input is stored correctly --- tests/app/Models/SearchTest.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/app/Models/SearchTest.php') 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() { -- cgit v1.2.3