You are here

public function AReportTokenTest::testReportContext in Forena Reports 8

File

tests/src/Unit/AReportTokenTest.php, line 62

Class

AReportTokenTest
Class AReportTokenTest @group Forena @require module forena @coversDefaultClass \Drupal\forena\Token\ReportReplacer

Namespace

Drupal\Tests\forena\Unit

Code

public function testReportContext() {
  $text = $this->replacer
    ->replace('Report follows: {FrxReport.sample}');
  $this
    ->assertContains('col1', $text);
}