diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-07 06:07:19 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-07 06:07:19 +0000 |
commit | b52cdd773c10df895f306f4956e8b8294d875c0f (patch) | |
tree | 9a5f2e8cf4033c03db179c55f74c390a13363d65 /modules/search | |
parent | 778ec56c7b2e30b97671b4f5090c7832ed41649d (diff) | |
download | brdo-b52cdd773c10df895f306f4956e8b8294d875c0f.tar.gz brdo-b52cdd773c10df895f306f4956e8b8294d875c0f.tar.bz2 |
#652420 by sun: Fixed Various failures everywhere caught by asserting on watchdog errors found in testing logs.
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/search.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/search/search.test b/modules/search/search.test index 15cc1328d..de7b454e2 100644 --- a/modules/search/search.test +++ b/modules/search/search.test @@ -424,7 +424,10 @@ class SearchBlockTestCase extends DrupalWebTestCase { $this->assertText('Your search yielded no results'); // Test a search from the block on a 404 page. - $this->drupalPost('foo', $terms, t('Search')); + $this->drupalGet('foo'); + $this->assertResponse(404); + $this->drupalPost(NULL, $terms, t('Search')); + $this->assertNoResponse(404); $this->assertText('Your search yielded no results'); // Test a search from the block when it doesn't appear on the search page. |