You are here

public function LingotekSettingsTabAccountFormTest::testGetFormId in Lingotek Translation 3.5.x

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

@covers ::getFormId

File

tests/src/Unit/Form/LingotekSettingsTabAccountFormTest.php, line 90

Class

LingotekSettingsTabAccountFormTest
@coversDefaultClass \Drupal\lingotek\Form\LingotekSettingsTabAccountForm @group lingotek @preserveGlobalState disabled

Namespace

Drupal\Tests\lingotek\Unit\Form

Code

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