You are here

protected function FileImportExportTest::getPathToFixtures in Acquia Content Hub 8.2

Returns path to fixtures directory.

Return value

string Path to fixtures directory.

1 call to FileImportExportTest::getPathToFixtures()
FileImportExportTest::testFileImportExport in tests/src/Kernel/FileImportExportTest.php
Tests import/export of node with file.

File

tests/src/Kernel/FileImportExportTest.php, line 235

Class

FileImportExportTest
Tests that files are properly exported and imported.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

protected function getPathToFixtures() {
  $path_to_fixtures = sprintf('%s/tests/fixtures', drupal_get_path('module', 'acquia_contenthub'));
  return $path_to_fixtures;
}