function UpdateDependencyMissingTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
simpletest/ tests/ update.test, line 70
Class
- UpdateDependencyMissingTestCase
- Tests for missing update dependencies.
Code
function setUp() {
// Only install update_test_2.module, even though its updates have a
// dependency on update_test_3.module.
parent::setUp('update_test_2');
require_once DRUPAL_ROOT . '/includes/update.inc';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.