public function ForenaReportTestCase::testConfig in Forena Reports 7.5
Same name in this branch
- 7.5 forena.test \ForenaReportTestCase::testConfig()
- 7.5 tests/forena.test \ForenaReportTestCase::testConfig()
Same name and namespace in other branches
- 7.3 forena.test \ForenaReportTestCase::testConfig()
- 7.4 forena.test \ForenaReportTestCase::testConfig()
Test Forena Report.
File
- tests/
forena.test, line 38 - tests Tests for forena. @author davidmetzler
Class
- ForenaReportTestCase
- @file tests Tests for forena. @author davidmetzler
Code
public function testConfig() {
$this
->drupalGet('reports');
$this
->assertText('Forena Documentation', 'Documentation present.');
$this
->assertText('Sample reports and graphs', 'Sample reports present.');
$this
->assertText('Active Users', 'Drupal admin reports present.');
$this
->drupalGet('reports/sample.states');
$this
->assertText('Simple Table', 'The report title is there.');
$this
->assertText('Alaska', 'A state in the report exists');
}