You are here

public function ApdqcSessionHttpsTestCase::setUp in Asynchronous Prefetch Database Query Cache 7

Install session_test and apdqc module.

Overrides DrupalWebTestCase::setUp

File

./apdqc.test, line 735
Tests for the Asynchronous Prefetch Database Query Cache module.

Class

ApdqcSessionHttpsTestCase
Ensure that when running under HTTPS two session cookies are generated.

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");
}