| 1 redirect.test |
protected RedirectTestHelper::assertPageNotCached($url, array $options = array()) |
File
- core/modules/redirect/tests/redirect.test, line 82
- Unit tests for the redirect module.
Class
- RedirectTestHelper
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)));
}