diff --git a/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php b/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php index 2b44138cab9af287058e1acb09827476d896bbe9..c67e2b9e5180bb6cedf20e4b70a8701a5b25c636 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php @@ -54,7 +54,7 @@ function setupBundle() { /** * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). */ - function getTranslatorPermissions() { + protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('post comments', 'administer comments')); } diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php b/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php index 7b13462bd7e783e22f6bdcb970c1e8433726660d..acda01eb5f461208a49b74534b66b730b171d208 100644 --- a/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php +++ b/core/modules/node/lib/Drupal/node/Tests/NodeTranslationUITest.php @@ -52,7 +52,7 @@ protected function setupBundle() { /** * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). */ - function getTranslatorPermissions() { + protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array("edit any $this->bundle content")); } diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php index 4c0dde2f8a254d02fcb608ef1bad9878e68816b2..4084e2a9f560ff84015a3f1c3f47ae3942883bd5 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php @@ -69,7 +69,7 @@ protected function setupBundle() { /** * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). */ - function getTranslatorPermissions() { + protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('administer taxonomy')); } diff --git a/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php b/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php index 78bcc46741a60fffa55432dc1fb717a04bea1485..3a34da196431e38f65d2d93051050da7fde126fb 100644 --- a/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php +++ b/core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTestTranslationUITest.php @@ -39,7 +39,7 @@ function setUp() { /** * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). */ - function getTranslatorPermissions() { + protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('administer entity_test content')); } diff --git a/core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php b/core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php index 3b97557fd42b45e4f185056a9798f45519b35b83..171a976433813b6b21cab0f733779eeff92caa1a 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserTranslationUITest.php @@ -44,7 +44,7 @@ function setUp() { /** * Overrides \Drupal\translation_entity\Tests\EntityTranslationUITest::getTranslatorPermission(). */ - function getTranslatorPermissions() { + protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('administer users')); }