You are here

protected function LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  2. 3.0.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  3. 3.1.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  4. 3.2.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  5. 3.3.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  6. 3.4.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  7. 3.5.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  8. 3.6.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  9. 3.7.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()
  10. 3.8.x tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php \Drupal\Tests\lingotek\Functional\Views\LingotekNodeBulkViewsTranslationTest::assertSelectionIsKept()

Assert the selected action and key are kept.

Parameters

string $key: The selection key.

Overrides LingotekNodeBulkTranslationTest::assertSelectionIsKept

File

tests/src/Functional/Views/LingotekNodeBulkViewsTranslationTest.php, line 102

Class

LingotekNodeBulkViewsTranslationTest
Tests translating a node using the bulk management view.

Namespace

Drupal\Tests\lingotek\Functional\Views

Code

protected function assertSelectionIsKept(string $key) {

  // No valid selection, so permission denied message.
  $this
    ->assertText('You are not authorized to access this page.');
}