You are here

GridStackUnitTest.php in GridStack 8

File

tests/src/Unit/GridStackUnitTest.php
View source
<?php

namespace Drupal\Tests\gridstack\Unit;

use Drupal\Tests\UnitTestCase;
use Drupal\gridstack\Entity\GridStack;

/**
 * @coversDefaultClass \Drupal\gridstack\Entity\GridStack
 *
 * @group gridstack
 */
class GridStackUnitTest extends UnitTestCase {

  /**
   * Tests for gridstack entity methods.
   *
   * @covers ::htmlSettings
   */
  public function testGridStackEntity() {
    $html_settings = GridStack::htmlSettings();
    $this
      ->assertArrayHasKey('nested', $html_settings);
  }

}

Classes