/**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     /** @var \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler */
     $theme_handler = \Drupal::service('theme_handler');
     $theme_handler->refreshInfo();
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 protected function doSelectionTest()
 {
     parent::doSelectionTest();
     // Ensure that normal and post_update updates are merged together on the
     // selection page.
     $this->assertRaw('<ul><li>8001 -   Normal update_N() function. </li><li>First update.</li><li>Second update.</li><li>Test1 update.</li><li>Test0 update.</li></ul>');
 }
Пример #3
0
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->themeHandler = $this->container->get('theme_handler');
     $this->themeHandler->refreshInfo();
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     $this->databaseDumpFiles = [__DIR__ . '/../../../tests/fixtures/update/drupal-8.bare.standard.php.gz', __DIR__ . '/../../../tests/fixtures/update/drupal-8.broken_routing.php'];
     parent::setUp();
 }
Пример #5
0
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     $this->databaseDumpFiles = [__DIR__ . '/../../../tests/fixtures/update/drupal-8.bare.standard.php.gz'];
     parent::setUp();
 }