You are here

protected function MediaMigrationTestTrait::getFixtureFilePath in Media Migration 8

Returns the path to the Drupal 7 migration database fixture.

Return value

string Path to the database fixture file.

2 calls to MediaMigrationTestTrait::getFixtureFilePath()
MediaMigrationTestBase::setUp in tests/src/Kernel/Migrate/MediaMigrationTestBase.php
MigrateMediaTestBase::setUp in tests/src/Functional/MigrateMediaTestBase.php
3 methods override MediaMigrationTestTrait::getFixtureFilePath()
MediaMigrationFilterFormatTest::getFixtureFilePath in tests/src/Kernel/Migrate/MediaMigrationFilterFormatTest.php
Returns the path to the Drupal 7 migration database fixture.
MediaMigrationPlainTestBase::getFixtureFilePath in tests/src/Kernel/Migrate/MediaMigrationPlainTestBase.php
Returns the path to the Drupal 7 migration database fixture.
MigrateMediaFromNonMediaSourceTest::getFixtureFilePath in tests/src/Functional/MigrateMediaFromNonMediaSourceTest.php
Returns the path to the Drupal 7 migration database fixture.

File

tests/src/Traits/MediaMigrationTestTrait.php, line 24

Class

MediaMigrationTestTrait
Trait for media migration tests.

Namespace

Drupal\Tests\media_migration\Traits

Code

protected function getFixtureFilePath() {
  return drupal_get_path('module', 'media_migration') . '/tests/fixtures/drupal7_media.php';
}