summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2015-10-23 20:20:48 -0700
committerxjm2015-10-23 20:20:48 -0700
commit1ba3fd483b6c3a9a04bfd00505ab08a1b4a5eb09 (patch)
tree4066c0ae2a60fd89e817ac5f882720281653d38a
parent9af4f7a7d6ff437c2b7162fabe8fa3c940d98ea6 (diff)
Issue #2549571 by borisson_, nicrodgers: method visiblity in NodeTranslationUITest
-rw-r--r--core/modules/node/src/Tests/NodeTranslationUITest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/modules/node/src/Tests/NodeTranslationUITest.php b/core/modules/node/src/Tests/NodeTranslationUITest.php
index 452d6cc..b42eb76 100644
--- a/core/modules/node/src/Tests/NodeTranslationUITest.php
+++ b/core/modules/node/src/Tests/NodeTranslationUITest.php
@@ -66,7 +66,7 @@ class NodeTranslationUITest extends ContentTranslationUITestBase {
/**
* Tests the basic translation UI.
*/
- function testTranslationUI() {
+ public function testTranslationUI() {
parent::testTranslationUI();
$this->doUninstallTest();
}
@@ -74,7 +74,7 @@ class NodeTranslationUITest extends ContentTranslationUITestBase {
/**
* Tests changing the published status on a node without fields.
*/
- function testPublishedStatusNoFields() {
+ public function testPublishedStatusNoFields() {
// Test changing the published status of an article without fields.
$this->drupalLogin($this->administrator);
// Delete all fields.
@@ -221,7 +221,7 @@ class NodeTranslationUITest extends ContentTranslationUITestBase {
/**
* Tests that translation page inherits admin status of edit page.
*/
- function testTranslationLinkTheme() {
+ public function testTranslationLinkTheme() {
$this->drupalLogin($this->administrator);
$article = $this->drupalCreateNode(array('type' => 'article', 'langcode' => $this->langcodes[0]));
@@ -270,7 +270,7 @@ class NodeTranslationUITest extends ContentTranslationUITestBase {
/**
* Tests that translations are rendered properly.
*/
- function testTranslationRendering() {
+ public function testTranslationRendering() {
$default_langcode = $this->langcodes[0];
$values[$default_langcode] = $this->getNewEntityValues($default_langcode);
$this->entityId = $this->createEntity($values[$default_langcode], $default_langcode);