public function LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 4.0.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.0.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.1.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.2.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.3.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.4.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.5.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.7.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
- 3.8.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::testFormWorksAfterRemovingLanguageWithStatuses()
Tests that a config can be translated using the links on the management page.
File
- tests/
src/ Functional/ LingotekNodeBulkTranslationTest.php, line 785
Class
- LingotekNodeBulkTranslationTest
- Tests translating a node using the bulk management 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
->goToContentBulkManagementForm();
// There is no link for the Spanish translation.
$assert_session
->linkNotExists('ES');
$assert_session
->linkExists('CA');
}