You are here

protected function GridStackCrudTest::setUp in GridStack 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/GridStackCrudTest.php \Drupal\Tests\gridstack\Kernel\GridStackCrudTest::setUp()

File

tests/src/Kernel/GridStackCrudTest.php, line 31

Class

GridStackCrudTest
Tests creation, loading, updating, deleting of GridStack optionsets.

Namespace

Drupal\Tests\gridstack\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(static::$modules);
  $this
    ->installEntitySchema('gridstack');

  // Enable Bootstrap support.
  $this->blazyManager
    ->getConfigFactory()
    ->getEditable('gridstack.settings')
    ->set('framework', 'bootstrap')
    ->save();
}