protected function UpdatesWith7xTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 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',
]);
}