You are here

protected function BlazySettingsFormTest::setUp in Blazy 8

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

@covers ::__construct

Overrides KernelTestBase::setUp

File

tests/src/Kernel/Form/BlazySettingsFormTest.php, line 44

Class

BlazySettingsFormTest
Tests the Blazy UI settings form.

Namespace

Drupal\Tests\blazy\Kernel\Form

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(static::$modules);
  $this->blazyManager = $this->container
    ->get('blazy.manager');
  $this->blazySettingsForm = new BlazySettingsForm($this->blazyManager
    ->getConfigFactory());
}