You are here

public function BlazyTest::testGetLightboxes in Blazy 7

Tests cases for lightboxes.

@covers \Drupal\blazy\BlazyManager::getLightboxes

File

tests/Blazy.test, line 144

Class

BlazyTest
Tests the Blazy configuration options and permission controls.

Code

public function testGetLightboxes() {
  $lightboxes = blazy()
    ->getLightboxes();
  $this
    ->assertTrue(!in_array('nixbox', $lightboxes), 'No lightbox nixbox.');
}