public function ModalPageSettingsFormTest::testSubmit 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::testSubmit()
Test ModalPageSettingsForm::submit.
File
- tests/
src/ Kernel/ Form/ ModalPageSettingsFormTest.php, line 94
Class
- ModalPageSettingsFormTest
- Kernel tests for ModalPageSettingsForm.
Namespace
Drupal\Tests\modal_page\Kernel\FormCode
public function testSubmit() {
$noExternalJs = $this
->config('modal_page.settings')
->get('no_modal_page_external_js');
$this
->assertTrue($noExternalJs);
}