You are here

protected function SlickCrudTest::setUp in Slick Carousel 8

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

File

tests/src/Kernel/SlickCrudTest.php, line 33

Class

SlickCrudTest
Tests creation, loading, updating, deleting of Slick optionsets.

Namespace

Drupal\Tests\slick\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(static::$modules);
  $this
    ->installEntitySchema('slick');
  $this->blazyAdmin = $this->container
    ->get('blazy.admin.extended');
  $this->blazyManager = $this->container
    ->get('blazy.manager');
  $this->slickManager = $this->container
    ->get('slick.manager');
  $this->slickFormatter = $this->container
    ->get('slick.formatter');
  $this->slickAdmin = $this->container
    ->get('slick.admin');
}