You are here

public function ImportBasicTest::testAvailableFormats in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_import/tests/src/Kernel/ImportBasicTest.php \Drupal\Tests\bibcite_import\Kernel\ImportBasicTest::testAvailableFormats()

Test if export formats available after enabling modules.

@dataProvider importData

File

modules/bibcite_import/tests/src/Kernel/ImportBasicTest.php, line 75

Class

ImportBasicTest
Basic import tests.

Namespace

Drupal\Tests\bibcite_import\Kernel

Code

public function testAvailableFormats($format) {
  $this
    ->assertTrue($this->formatManager
    ->hasDefinition($format));
}