You are here

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

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

Get test data from YAML.

Return value

array Data for URL test.

File

modules/bibcite_import/tests/src/Functional/ImportTest.php, line 103

Class

ImportTest
Test for main import functions.

Namespace

Drupal\Tests\bibcite_import\Functional

Code

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