From 05d0b5a814d2da4d22e494abc6d2e1c2d9e90d58 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Wed, 6 Feb 2013 15:59:28 +0000
Subject: [PATCH] Issue #1897770 by YesCT, jayboodhun: Make
 getTranslatorPermissions() protected.

---
 .../lib/Drupal/comment/Tests/CommentTranslationUITest.php       | 2 +-
 .../node/lib/Drupal/node/Tests/NodeTranslationUITest.php        | 2 +-
 .../lib/Drupal/taxonomy/Tests/TermTranslationUITest.php         | 2 +-
 .../translation_entity/Tests/EntityTestTranslationUITest.php    | 2 +-
 .../user/lib/Drupal/user/Tests/UserTranslationUITest.php        | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php b/core/modules/comment/lib/Drupal/comment/Tests/CommentTranslationUITest.php
index 2b44138cab9a..c67e2b9e5180 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 7b13462bd7e7..acda01eb5f46 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 4c0dde2f8a25..4084e2a9f560 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 78bcc46741a6..3a34da196431 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 3b97557fd42b..171a97643381 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'));
   }
 
-- 
GitLab