public function LessUnitTest::setUp in Less CSS Preprocessor 7.4
Same name and namespace in other branches
- 8 tests/less.test \LessUnitTest::setUp()
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 DrupalUnitTestCase::setUp
File
- tests/
less.test, line 16
Class
Code
public function setUp() {
module_load_include('module', 'less');
module_load_include('inc', 'less', 'includes/less.process');
parent::setUp();
}