public function LingotekInterfaceTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 4.0.x tests/src/Functional/LingotekInterfaceTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.3.x tests/src/Functional/LingotekInterfaceTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.4.x tests/src/Functional/LingotekInterfaceTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.5.x tests/src/Functional/LingotekInterfaceTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.6.x tests/src/Functional/LingotekInterfaceTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.7.x tests/src/Functional/LingotekInterfaceTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.8.x tests/src/Functional/LingotekInterfaceTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekInterfaceTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
Tests that a config can be translated using the links on the management page.
File
- tests/
src/ Functional/ LingotekInterfaceTranslationTest.php, line 297
Class
- LingotekInterfaceTranslationTest
- Tests translating the user interface using the Lingotek form.
Namespace
Drupal\Tests\lingotek\FunctionalCode
public function testFormWorksAfterRemovingLanguageWithStatuses() {
$assert_session = $this
->assertSession();
// We need a language added and requested.
$this
->testAddingLanguageAllowsRequesting();
// Delete a language.
ConfigurableLanguage::load('es')
->delete();
$this
->goToInterfaceTranslationManagementForm();
// There is no link for the Spanish translation.
$assert_session
->linkNotExists('ES');
$assert_session
->linkExists('CA');
}