protected function RedirectTestHelper::assertPageNotCached in Redirect 7
Same name and namespace in other branches
- 7.2 redirect.test \RedirectTestHelper::assertPageNotCached()
1 call to RedirectTestHelper::assertPageNotCached()
File
- ./
redirect.test, line 70 - Unit tests for the redirect module.
Class
- RedirectTestHelper
- @file Unit tests for the redirect module.
Code
protected function assertPageNotCached($url, array $options = array()) {
$options['absolute'] = TRUE;
$url = url($url, $options);
$cache = cache_get($url, 'cache_page');
$this
->assertFalse($cache, t('Page %url was not cached.', array(
'%url' => $url,
)));
}