You are here

public function LingotekSettingsTabContentFormTest::testNoUntranslatableEntitiesAreShown in Lingotek Translation 8

Test that if there are no entities, there is a proper feedback to the user.

File

src/Tests/Form/LingotekSettingsTabContentFormTest.php, line 47

Class

LingotekSettingsTabContentFormTest
Tests the Lingotek content settings form.

Namespace

Drupal\lingotek\Tests\Form

Code

public function testNoUntranslatableEntitiesAreShown() {
  $this
    ->drupalGet('admin/lingotek/settings');
  $this
    ->assertText('There are no translatable content entities specified');
}