public function LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 4.0.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 3.1.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 3.2.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 3.3.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 3.4.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 3.5.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 3.6.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 3.7.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
- 3.8.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testDeleteTranslationUpdatesStatuses()
Tests that we update the statuses when a translation is deleted.
File
- tests/
src/ Functional/ LingotekContentTypeBulkTranslationTest.php, line 1654
Class
- LingotekContentTypeBulkTranslationTest
- Tests translating a config entity using the bulk management form.
Namespace
Drupal\Tests\lingotek\FunctionalCode
public function testDeleteTranslationUpdatesStatuses() {
$this
->testContentTypeTranslationUsingActions();
$this
->goToConfigBulkManagementForm('node_type');
$this
->assertTargetStatus('DE', Lingotek::STATUS_CURRENT);
$this
->drupalGet('/admin/structure/types/manage/article/translate');
$this
->clickLink('Delete');
$this
->drupalPostForm(NULL, [], t('Delete'));
$this
->goToConfigBulkManagementForm('node_type');
$this
->assertTargetStatus('DE', Lingotek::STATUS_READY);
}