public function ContentTranslationRevisionTranslationDeletionTest::testOverview in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationRevisionTranslationDeletionTest::testOverview()
- 10 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\FunctionalCode
public function testOverview() {
$index = 1;
$accounts = [
$this->rootUser,
$this->editor,
$this->translator,
];
foreach ($accounts as $account) {
$this->currentAccount = $account;
$this
->doTestOverview($index++);
}
}