You are here

public function Search404NoRedirectTestCase::testSearch404NoRedirectCheck in Search 404 7

Test for search 404 no redirect check.

File

./search404.test, line 229
Tests for search404.module.

Class

Search404NoRedirectTestCase
Test cases for 404 no redirect.

Code

public function testSearch404NoRedirectCheck() {
  $this
    ->drupalLogin($this->big_user);
  $this
    ->drupalPost('admin/config/search/search404', array(
    'search404_no_redirect' => TRUE,
  ), t('Save configuration'));
}