You are here

function PathRedirectUnitTest::testNoCleanURLs in Path redirect 6

File

./path_redirect.test, line 110
Tests for the path_redirect module.

Class

PathRedirectUnitTest

Code

function testNoCleanURLs() {
  $clean_url = (bool) variable_get('clean_url', 0);
  variable_set('clean_url', !$clean_url);
  $this
    ->testRedirects();
  variable_set('clean_url', (int) $clean_url);
}