You are here

public function EntityExportTest::exportDataProvider in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_export/tests/src/Functional/EntityExportTest.php \Drupal\Tests\bibcite_export\Functional\EntityExportTest::exportDataProvider()

Get test data from YAML.

Return value

array Data for URL test.

File

modules/bibcite_export/tests/src/Functional/EntityExportTest.php, line 100

Class

EntityExportTest
Test for main export functions.

Namespace

Drupal\Tests\bibcite_export\Functional

Code

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