You are here

public function Search301RedirectFor302TestCase::testSearch301RedirectFor302Check in Search 404 7

Test for search 301 redirect for 302 check.

File

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

Class

Search301RedirectFor302TestCase
Test cases - 301 redirect for 302.

Code

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