You are here

protected function MigrateUpgradeExecuteTestBase::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase::setUp()
  2. 10 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase::setUp()

Overrides MigrateUpgradeTestBase::setUp

5 calls to MigrateUpgradeExecuteTestBase::setUp()
IdConflictTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php
IdConflictTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php
NodeClassicTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
Upgrade6Test::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
Upgrade7Test::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php
5 methods override MigrateUpgradeExecuteTestBase::setUp()
IdConflictTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php
IdConflictTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php
NodeClassicTest::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
Upgrade6Test::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
Upgrade7Test::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php

File

core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php, line 24

Class

MigrateUpgradeExecuteTestBase
Provides a base class for testing a complete upgrade via the UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

protected function setUp() {
  parent::setUp();

  // Create content.
  $this
    ->createContent();

  // Get the current major version.
  list($this->destinationSiteVersion) = explode('.', \Drupal::VERSION, 2);
}