protected function GridStackCrudTest::setUp in GridStack 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/GridStackCrudTest.php \Drupal\Tests\gridstack\Kernel\GridStackCrudTest::setUp()
File
- tests/
src/ Kernel/ GridStackCrudTest.php, line 32
Class
- GridStackCrudTest
- Tests creation, loading, updating, deleting of GridStack optionsets.
Namespace
Drupal\Tests\gridstack\KernelCode
protected function setUp() {
parent::setUp();
$this
->installConfig(static::$modules);
$this
->installEntitySchema('gridstack');
$this->gridstackManager = $this->container
->get('gridstack.manager');
// Enable Bootstrap support.
$this->gridstackManager
->getConfigFactory()
->getEditable('gridstack.settings')
->set('framework', 'bootstrap')
->save();
}