function LibrariesUnitTestCase::setUp in Libraries API 7.3
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/
libraries.test, line 20 - Tests for Libraries API.
Class
- LibrariesUnitTestCase
- Tests basic Libraries API functions.
Code
function setUp() {
drupal_load('module', 'libraries');
parent::setUp();
}