public function ApdqcSessionTestCase::setUp in Asynchronous Prefetch Database Query Cache 7
Install session_test and apdqc module.
Overrides DrupalWebTestCase::setUp
File
- ./
apdqc.test, line 420 - Tests for the Asynchronous Prefetch Database Query Cache module.
Class
- ApdqcSessionTestCase
- Tests for the session system.
Code
public function setUp() {
parent::setUp(array(
'session_test',
'apdqc',
));
$file_path = drupal_get_path('module', 'apdqc');
variable_set('session_inc', "{$file_path}/apdqc.session.inc");
variable_set('page_cache_invoke_hooks', TRUE);
$GLOBALS['conf']['page_cache_invoke_hooks'] = TRUE;
}