protected function PageTitleConvertedIntoBlockUpdateTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Update/PageTitleConvertedIntoBlockUpdateTest.php \Drupal\system\Tests\Update\PageTitleConvertedIntoBlockUpdateTest::setUp()
Overrides WebTestBase::setUp() for update testing.
The main difference in this method is that rather than performing the installation via the installer, a database is loaded. Additional work is then needed to set various things such as the config directories and the container that would normally be done via the installer.
Overrides UpdatePathTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ Update/ PageTitleConvertedIntoBlockUpdateTest.php, line 34 - Contains \Drupal\system\Tests\Update\PageTitleConvertedIntoBlockUpdateTest.
Class
- PageTitleConvertedIntoBlockUpdateTest
- Tests the upgrade path for page title being converted into a block.
Namespace
Drupal\system\Tests\UpdateCode
protected function setUp() {
parent::setUp();
// @todo Remove in https://www.drupal.org/node/2568069.
/** @var \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler */
$theme_handler = \Drupal::service('theme_handler');
$theme_handler
->refreshInfo();
}