1 system.test | public UuidUnitTestCase::setUp() |
Sets up unit test environment.
Unlike BackdropWebTestCase::setUp(), BackdropUnitTestCase::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 BackdropUnitTestCase::setUp
File
- core/
modules/ system/ tests/ system.test, line 2814 - Tests for system.module.
Class
- UuidUnitTestCase
- Tests uuid.inc and related functions.
Code
public function setUp() {
// Initiate the generator. This will lazy-load uuid.inc.
$this->uuid = new Uuid();
parent::setUp();
}