Ver código fonte

Add a test to verify if the search input is stored correctly

Alexis Degrugillier 11 anos atrás
pai
commit
964e67d4a4
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      tests/app/Models/SearchTest.php

+ 1 - 0
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() {