You are here

public function FixtureTrait::getFixtureFileDir in Mini site 8

Get the path to the directory with fixture files.

Return value

string The path to the directory with fixture files.

2 calls to FixtureTrait::getFixtureFileDir()
MinisiteTestBase::browseFixtureMinisiteAliased in tests/src/Functional/MinisiteTestBase.php
Helper to browse aliased fixture pages.
MinisiteTestBase::getTestFilesStubValid in tests/src/Functional/MinisiteTestBase.php
Get valid test files stub.

File

tests/src/Traits/FixtureTrait.php, line 201

Class

FixtureTrait
Trait FixtureTrait.

Namespace

Drupal\Tests\minisite\Traits

Code

public function getFixtureFileDir() {
  return __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures';
}