function UpdatesWith7xTest::setUp
Same name in other branches
- 9 core/modules/system/tests/src/Functional/UpdateSystem/UpdatesWith7xTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatesWith7xTest::setUp()
- 10 core/modules/system/tests/src/Functional/UpdateSystem/UpdatesWith7xTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatesWith7xTest::setUp()
- 11.x core/modules/system/tests/src/Functional/UpdateSystem/UpdatesWith7xTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatesWith7xTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatesWith7xTest.php, line 42
Class
- UpdatesWith7xTest
- Tests that the minimum schema version is correct even if only 7.x update hooks are retained .
Namespace
Drupal\Tests\system\Functional\UpdateSystemCode
protected function setUp() {
parent::setUp();
require_once $this->root . '/core/includes/update.inc';
$this->updateUrl = $GLOBALS['base_url'] . '/update.php';
$this->updateUser = $this->drupalCreateUser([
'administer software updates',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.