You are here

public function LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 4.0.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  2. 3.0.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  3. 3.1.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  4. 3.2.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  5. 3.3.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  6. 3.4.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  7. 3.5.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  8. 3.6.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  9. 3.7.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()
  10. 3.8.x tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekSettingsTabIntegrationFormTest::testTabNotShownIfThereAreNoSettings()

Test that if there are no integration settings, there is no tab at all.

File

tests/src/Functional/Form/LingotekSettingsTabIntegrationFormTest.php, line 27

Class

LingotekSettingsTabIntegrationFormTest
Tests the Lingotek integrations settings form.

Namespace

Drupal\Tests\lingotek\Functional\Form

Code

public function testTabNotShownIfThereAreNoSettings() {
  $this
    ->drupalGet('admin/lingotek/settings');
  $this
    ->assertNoText('Integrations Settings');
}