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