public function ForenaTest::testReport in Forena Reports 8
File
- tests/
src/ Unit/ ForenaTest.php, line 28
Class
- ForenaTest
- Class ForenaTest @group Forena
Namespace
Drupal\Tests\forena\UnitCode
public function testReport() {
$content = $this->forena
->report('test');
$this
->assertNotEmpty($content);
$content2 = $this->forena
->report('include');
$this
->assertNotEmpty($content2);
$this
->assertNotEquals($content['report']['#template'], $content2['report']['#template']);
}