You are here

public function AbjsSettingsAdminTest::testFormId in A/B Test JS 2.0.x

Same name and namespace in other branches
  1. 8 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());
}