You are here

public function GridStackUnitTest::testGridStackEntity in GridStack 8

Tests for gridstack entity methods.

@covers ::htmlSettings

File

tests/src/Unit/GridStackUnitTest.php, line 20

Class

GridStackUnitTest
@coversDefaultClass \Drupal\gridstack\Entity\GridStack

Namespace

Drupal\Tests\gridstack\Unit

Code

public function testGridStackEntity() {
  $html_settings = GridStack::htmlSettings();
  $this
    ->assertArrayHasKey('nested', $html_settings);
}