You are here

public function AbjsSettingsAdminTest::testFormId in A/B Test JS 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Kernel/Form/AbjsSettingsAdminTest.php \Drupal\Tests\abjs\Kernel\Form\AbjsSettingsAdminTest::testFormId()

Test formId().

File

tests/src/Kernel/Form/AbjsSettingsAdminTest.php, line 57

Class

AbjsSettingsAdminTest
Kernel tests for AbjsSettingsAdmin.

Namespace

Drupal\Tests\abjs\Kernel\Form

Code

public function testFormId() {
  $this
    ->assertTrue(is_string($this->abjsSettingsForm
    ->getFormId()));
  $this
    ->assertEquals('abjs_settings_admin', $this->abjsSettingsForm
    ->getFormId());
}