function CDNOriginPullTestCase::setUp in CDN 7.2
Sets up unit test environment.
Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.
Overrides CDNUnitTestCase::setUp
File
- tests/
cdn.test, line 219 - Test CDN.
Class
Code
function setUp() {
parent::setUp();
$this
->loadFile('cdn.basic.inc');
$this
->loadFile('cdn.basic.farfuture.inc');
$this
->variableSet(CDN_MODE_VARIABLE, CDN_MODE_BASIC);
}