public function ForenaInegrationTest::testDocumentTypes in Forena Reports 8
Test Document Types
File
- src/
Tests/ ForenaInegrationTest.php, line 126 - tests Tests for forena. @author davidmetzler
Class
- ForenaInegrationTest
- Class ForenaInegrationTest
Namespace
Drupal\forena\TestsCode
public function testDocumentTypes() {
$doc_types = $this->frx
->documentManager()
->getDocTypes();
$this
->assertTrue(count($doc_types) > 0, "Found Document types");
$this
->assertTrue(array_search('csv', $doc_types) !== FALSE, "CSV Exists");
}