1 layout.test public LayoutUpgradePathTest::setUp()

Overrides BackdropWebTestCase::setUp() for upgrade testing.

Overrides UpgradePathTestCase::setUp

See also

BackdropWebTestCase::prepareDatabasePrefix()

BackdropWebTestCase::changeDatabasePrefix()

BackdropWebTestCase::prepareEnvironment()

File

core/modules/layout/tests/layout.test, line 2439
Tests for the Layout module.

Class

LayoutUpgradePathTest
Tests the upgrade path from block-based regions to layouts.

Code

public function setUp() {
  // Path to the database dump files.
  $this->databaseDumpFiles = array(
    backdrop_get_path('module', 'simpletest') . '/tests/upgrade/drupal-7.filled.database.php.gz',
    backdrop_get_path('module', 'layout') . '/tests/layout_upgrade_database.php',
  );
  parent::setUp();
}