You are here

protected function CredentialFormTest::getSourceBasePath in Drupal 9

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

Gets the source base path for the concrete test.

Return value

string The source base path.

Overrides MigrateUpgradeTestBase::getSourceBasePath

File

core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php, line 92

Class

CredentialFormTest
Test the credential form for both Drupal 6 and Drupal 7 sources.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

protected function getSourceBasePath() {
  $version = $this
    ->getLegacyDrupalVersion($this->sourceDatabase);
  return __DIR__ . '/d' . $version . '/files';
}