You are here

function CDNWebTestCase::loadFile in CDN 7.2

1 call to CDNWebTestCase::loadFile()
CDNCssUrlTestCase::setUp in tests/cdn.test
Sets up a Drupal site for running functional and integration tests.

File

tests/cdn.test, line 157
Test CDN.

Class

CDNWebTestCase

Code

function loadFile($file) {
  $cdn_path = DRUPAL_ROOT . '/' . drupal_get_path('module', 'cdn');
  require_once "{$cdn_path}/{$file}";
}