Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
1ba3fd48
Commit
1ba3fd48
authored
Oct 23, 2015
by
xjm
Browse files
Issue
#2549571
by borisson_, nicrodgers: method visiblity in NodeTranslationUITest
parent
9af4f7a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/node/src/Tests/NodeTranslationUITest.php
View file @
1ba3fd48
...
...
@@ -66,7 +66,7 @@ protected function setUp() {
/**
* Tests the basic translation UI.
*/
function
testTranslationUI
()
{
public
function
testTranslationUI
()
{
parent
::
testTranslationUI
();
$this
->
doUninstallTest
();
}
...
...
@@ -74,7 +74,7 @@ function testTranslationUI() {
/**
* 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 @@ protected function doTestAuthoringInfo() {
/**
* 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 @@ public function testDisabledBundle() {
/**
* 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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment