You are here

protected function AbstractUiPatternsTest::getFixturePath in UI Patterns 8

Same name in this branch
  1. 8 tests/src/Unit/AbstractUiPatternsTest.php \Drupal\Tests\ui_patterns\Unit\AbstractUiPatternsTest::getFixturePath()
  2. 8 tests/src/Kernel/AbstractUiPatternsTest.php \Drupal\Tests\ui_patterns\Kernel\AbstractUiPatternsTest::getFixturePath()

Get fixtures base path.

Return value

string Fixtures base path.

3 calls to AbstractUiPatternsTest::getFixturePath()
PatternDefinitionTest::fieldsProcessingProvider in tests/src/Unit/Definition/PatternDefinitionTest.php
Provider.
PatternDefinitionTest::variantsProcessingProvider in tests/src/Unit/Definition/PatternDefinitionTest.php
Provider.
PatternPreviewTest::testPreviewMarkup in tests/src/Unit/Element/PatternPreviewTest.php
Test getPreviewMarkup.

File

tests/src/Unit/AbstractUiPatternsTest.php, line 22

Class

AbstractUiPatternsTest
Class AbstractUiPatternsTest.

Namespace

Drupal\Tests\ui_patterns\Unit

Code

protected function getFixturePath() {
  return realpath(dirname(__FILE__) . '/../fixtures');
}