You are here

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

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

Get test data from YAML.

Return value

array Data for URL test.

File

modules/bibcite_entity/tests/src/Functional/BibciteEntityTest.php, line 421

Class

BibciteEntityTest
Test for entity functions.

Namespace

Drupal\Tests\bibcite_entity\Functional

Code

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