summaryrefslogtreecommitdiff
path: root/modules/search/search.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search/search.test')
-rw-r--r--modules/search/search.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.test b/modules/search/search.test
index de7b454e2..035b7645d 100644
--- a/modules/search/search.test
+++ b/modules/search/search.test
@@ -427,7 +427,7 @@ class SearchBlockTestCase extends DrupalWebTestCase {
$this->drupalGet('foo');
$this->assertResponse(404);
$this->drupalPost(NULL, $terms, t('Search'));
- $this->assertNoResponse(404);
+ $this->assertResponse(200);
$this->assertText('Your search yielded no results');
// Test a search from the block when it doesn't appear on the search page.