You are here

public function WebformMigrateTest::getDatabaseFixtureFilePath in Webform: Migrate 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/Migrate/d7/WebformMigrateTest.php \Drupal\Tests\webform_migrate\Kernel\Migrate\d7\WebformMigrateTest::getDatabaseFixtureFilePath()

Returns the drupal-relative path to the database fixture file.

Return value

string The path to the database file.

Overrides WebformMigrateTestBase::getDatabaseFixtureFilePath

File

tests/src/Kernel/Migrate/d7/WebformMigrateTest.php, line 49

Class

WebformMigrateTest
Tests webform migrations.

Namespace

Drupal\Tests\webform_migrate\Kernel\Migrate\d7

Code

public function getDatabaseFixtureFilePath() {
  return drupal_get_path('module', 'webform_migrate') . '/tests/fixtures/drupal7_webform.php';
}