public function ContactUpgradePathTest::setUp

Overrides Drupal\simpletest\WebTestBase::setUp() for upgrade testing.

Overrides UpgradePathTestBase::setUp

See also

Drupal\simpletest\WebTestBase::prepareDatabasePrefix()

Drupal\simpletest\WebTestBase::changeDatabasePrefix()

Drupal\simpletest\WebTestBase::prepareEnvironment()

File

drupal/core/modules/contact/lib/Drupal/contact/Tests/ContactUpgradePathTest.php, line 24
Definition of Drupal\contact\Tests\ContactUpgradePathTest.

Class

ContactUpgradePathTest
Tests upgrade of contact.

Namespace

Drupal\contact\Tests

Code

public function setUp() {
  $this->databaseDumpFiles = array(
    drupal_get_path('module', 'system') . '/tests/upgrade/drupal-7.bare.standard_all.database.php.gz',
    drupal_get_path('module', 'contact') . '/tests/drupal-7.contact.database.php',
  );
  parent::setUp();
}