You are here

public function ContentTranslationRevisionTranslationDeletionTest::testOverview in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationRevisionTranslationDeletionTest::testOverview()
  2. 9 core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationRevisionTranslationDeletionTest::testOverview()

Tests that translation overview handles pending revisions correctly.

File

core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php, line 31

Class

ContentTranslationRevisionTranslationDeletionTest
Tests that revision translation deletion is handled correctly.

Namespace

Drupal\Tests\content_translation\Functional

Code

public function testOverview() {
  $index = 1;
  $accounts = [
    $this->rootUser,
    $this->editor,
    $this->translator,
  ];
  foreach ($accounts as $account) {
    $this->currentAccount = $account;
    $this
      ->doTestOverview($index++);
  }
}