| 1 update.test | UpdateCoreUnitTestCase::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/ update/ tests/ update.test, line 664  - This file contains tests for the Update Manager module.
 
Class
- UpdateCoreUnitTestCase
 - Tests update functionality unrelated to the database.
 
Code
function setUp() {
  parent::setUp(array('update'));
  module_load_include('inc', 'update', 'update.fetch');
}