1 redirect.test protected RedirectTestHelper::assertNoRedirect($redirect)

File

core/modules/redirect/tests/redirect.test, line 34
Unit tests for the redirect module.

Class

RedirectTestHelper

Code

protected function assertNoRedirect($redirect) {
  $source_url = url($redirect->source, array('absolute' => TRUE) + $redirect->source_options);
  $this->backdropGet($source_url);
  $this->assertEqual($this->getUrl(), $source_url, t('Page %url was not redirected.', array('%url' => $source_url)));
}