You are here

public function ModalPageSettingsFormTest::testFormId in Modal 8.2

Same name and namespace in other branches
  1. 8.3 tests/src/Kernel/Form/ModalPageSettingsFormTest.php \Drupal\Tests\modal_page\Kernel\Form\ModalPageSettingsFormTest::testFormId()

Test to method ModalPageSettings::getFormId().

File

tests/src/Kernel/Form/ModalPageSettingsFormTest.php, line 67

Class

ModalPageSettingsFormTest
Kernel tests for ModalPageSettingsForm.

Namespace

Drupal\Tests\modal_page\Kernel\Form

Code

public function testFormId() {
  $this
    ->assertEquals('modal_page_admin_settings', $this->modalPageSettingsForm
    ->getFormId());
}