protected function ModalPageSettingsFormTest::setUp in Modal 8.2
Same name and namespace in other branches
- 8.3 tests/src/Kernel/Form/ModalPageSettingsFormTest.php \Drupal\Tests\modal_page\Kernel\Form\ModalPageSettingsFormTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ Form/ ModalPageSettingsFormTest.php, line 46
Class
- ModalPageSettingsFormTest
- Kernel tests for ModalPageSettingsForm.
Namespace
Drupal\Tests\modal_page\Kernel\FormCode
protected function setUp() {
parent::setUp();
$this->modalPageConfig = $this->container
->get('config.factory')
->get('modal_page_admin_settings.settings');
$this->modalPageSettingsForm = ModalPageSettingsForm::create($this->container);
$this
->submitForm();
}