You are here

public function ImceSettingsFormTest::testFormId in IMCE 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/Form/ImceSettingsFormTest.php \Drupal\Tests\imce\Kernel\Form\ImceSettingsFormTest::testFormId()

Test formId().

File

tests/src/Kernel/Form/ImceSettingsFormTest.php, line 56

Class

ImceSettingsFormTest
Kernel tests for ImceSettingsForm.

Namespace

Drupal\Tests\imce\Kernel\Form

Code

public function testFormId() {
  $this
    ->assertIsString($this->imceSettingsForm
    ->getFormId());
  $this
    ->assertEquals('imce_settings_form', $this->imceSettingsForm
    ->getFormId());
}