You are here

public function ReportFileSystemTest::testUserReports in Forena Reports 8

User Reports by category.

File

tests/src/Unit/File/ReportFileSystemTest.php, line 52
Implements ReportFileSystemTest

Class

ReportFileSystemTest
@require module forena @group Forena @coversDefaultClass \Drupal\forena\File\ReportFileSystem

Namespace

Drupal\Tests\forena\Unit\File

Code

public function testUserReports() {
  $reports = $this
    ->reportFileSystem()
    ->reportsByCategory();
  $this
    ->assertArrayHasKey('Test', $reports);
  $this
    ->assertArrayHasKey('Sample', $reports);
}