1.20.x layout.test public LayoutUpgradePathTest::setUp()

Overrides BackdropWebTestCase::setUp() for upgrade testing.

Overrides UpgradePathTestCase::setUp

See also

BackdropWebTestCase::prepareDatabasePrefix()

BackdropWebTestCase::changeDatabasePrefix()

BackdropWebTestCase::prepareEnvironment()

File

modules/layout/tests/layout.test, line 2525
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();
}