1 graph.test | GraphUnitTest::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/ simpletest/ tests/ graph.test, line 11 - Provides unit tests for graph.inc.
Class
- GraphUnitTest
- Unit tests for the graph handling features.
Code
function setUp() {
require_once BACKDROP_ROOT . '/core/includes/graph.inc';
parent::setUp();
}