You are here

public function SkinTest::testSkinList in Forena Reports 8

List available skins.

File

tests/src/Unit/SkinTest.php, line 22

Class

SkinTest
@group Forena @require module forena @coversDefaultClass \Drupal\forena\Skin

Namespace

Drupal\Tests\forena\Unit

Code

public function testSkinList() {
  $skins = $this
    ->skins();

  // Check for skin library definition.
  $this
    ->assertArrayHasKey('default', $skins, 'Skin files detected');
  $this
    ->assertEquals('Default Skin', $skins['default']);
}