You are here

protected function LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations in Lingotek Translation 3.5.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  2. 4.0.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  3. 3.0.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  4. 3.1.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  5. 3.2.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  6. 3.3.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  7. 3.4.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  8. 3.6.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  9. 3.7.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
  10. 3.8.x tests/src/Functional/LingotekNodeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
1 call to LingotekNodeBulkTranslationTest::confirmBulkDeleteTranslations()
LingotekNodeBulkTranslationTest::testDeleteTranslationsInBulk in tests/src/Functional/LingotekNodeBulkTranslationTest.php
Tests that translations can be deleted using the actions on the management page.

File

tests/src/Functional/LingotekNodeBulkTranslationTest.php, line 2981

Class

LingotekNodeBulkTranslationTest
Tests translating a node using the bulk management form.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function confirmBulkDeleteTranslations($nodeCount, $translationCount) {
  $this
    ->drupalPostForm(NULL, [], t('Delete'));
  $this
    ->assertText("Deleted {$translationCount} content items.");
}