You are here

protected function UiPatternsLibraryOverviewTest::getExpectedPatterns in UI Patterns 8

Get expected patterns.

2 calls to UiPatternsLibraryOverviewTest::getExpectedPatterns()
UiPatternsLibraryOverviewTest::testOverviewPage in modules/ui_patterns_library/tests/src/FunctionalJavascript/UiPatternsLibraryOverviewTest.php
Tests overview page.
UiPatternsLibraryOverviewTest::testSinglePages in modules/ui_patterns_library/tests/src/FunctionalJavascript/UiPatternsLibraryOverviewTest.php
Tests overview page.

File

modules/ui_patterns_library/tests/src/FunctionalJavascript/UiPatternsLibraryOverviewTest.php, line 210

Class

UiPatternsLibraryOverviewTest
Test patterns overview page.

Namespace

Drupal\Tests\ui_patterns_library\FunctionalJavascript

Code

protected function getExpectedPatterns() {
  return Yaml::decode(file_get_contents(__DIR__ . '/../../fixtures/overview-page-patterns.yml'));
}