You are here

public function DisableAutoSearchTestCase::testDisableAutoSearchCheck in Search 404 7

Test for disable auto search option.

File

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

Class

DisableAutoSearchTestCase
Test cases for disable auto search.

Code

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