You are here

public function BibciteTest::importDataProvider in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/BibciteTest.php \Drupal\Tests\bibcite\Functional\BibciteTest::importDataProvider()

Get test data from YAML.

Return value

array Data for URL test.

File

tests/src/Functional/BibciteTest.php, line 155

Class

BibciteTest
Test for main module functions.

Namespace

Drupal\Tests\bibcite\Functional

Code

public function importDataProvider() {
  $yaml_text = file_get_contents(__DIR__ . '/data/testEntityList.data.yml');
  return Yaml::parse($yaml_text);
}