You are here

public function LingotekSettingsConnectFormTest::testGetFormId in Lingotek Translation 3.8.x

Same name and namespace in other branches
  1. 4.0.x tests/src/Unit/Form/LingotekSettingsConnectFormTest.php \Drupal\Tests\lingotek\Unit\Form\LingotekSettingsConnectFormTest::testGetFormId()
  2. 3.3.x tests/src/Unit/Form/LingotekSettingsConnectFormTest.php \Drupal\Tests\lingotek\Unit\Form\LingotekSettingsConnectFormTest::testGetFormId()
  3. 3.4.x tests/src/Unit/Form/LingotekSettingsConnectFormTest.php \Drupal\Tests\lingotek\Unit\Form\LingotekSettingsConnectFormTest::testGetFormId()
  4. 3.5.x tests/src/Unit/Form/LingotekSettingsConnectFormTest.php \Drupal\Tests\lingotek\Unit\Form\LingotekSettingsConnectFormTest::testGetFormId()
  5. 3.6.x tests/src/Unit/Form/LingotekSettingsConnectFormTest.php \Drupal\Tests\lingotek\Unit\Form\LingotekSettingsConnectFormTest::testGetFormId()
  6. 3.7.x tests/src/Unit/Form/LingotekSettingsConnectFormTest.php \Drupal\Tests\lingotek\Unit\Form\LingotekSettingsConnectFormTest::testGetFormId()

@covers ::getFormId

File

tests/src/Unit/Form/LingotekSettingsConnectFormTest.php, line 87

Class

LingotekSettingsConnectFormTest
@coversDefaultClass \Drupal\lingotek\Form\LingotekSettingsConnectForm @group lingotek @preserveGlobalState disabled

Namespace

Drupal\Tests\lingotek\Unit\Form

Code

public function testGetFormId() {
  $form_id = $this->form
    ->getFormID();
  $this
    ->assertSame('lingotek.connect_form', $form_id);
}