소스 검색

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

Alexis Degrugillier 11 년 전
부모
커밋
964e67d4a4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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() {