You are here

protected function SlickSettingsFormTest::setUp in Slick Carousel 8

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

@covers ::__construct

Overrides KernelTestBase::setUp

File

tests/src/Kernel/Form/SlickSettingsFormTest.php, line 45

Class

SlickSettingsFormTest
Tests the Slick UI settings form.

Namespace

Drupal\Tests\slick\Kernel\Form

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(static::$modules);
  $this->blazyManager = $this->container
    ->get('blazy.manager');
  $this->slickSettingsForm = new SlickSettingsForm($this->blazyManager
    ->getConfigFactory(), $this->container
    ->get('library.discovery'));
}