You are here

public function ImceSettingsFormTest::testFormId in IMCE 8

Same name and namespace in other branches
  1. 8.2 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
    ->assertTrue(is_string($this->imceSettingsForm
    ->getFormId()));
  $this
    ->assertEquals('imce_settings_form', $this->imceSettingsForm
    ->getFormId());
}