Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
link
Commits
48f62294
Commit
48f62294
authored
Feb 06, 2013
by
John Fiala
Browse files
By jcfiala: Fixed broken token tests - setUp on LinkBaseTestClass was broken.
parent
0b3bcb91
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/link.test
View file @
48f62294
...
...
@@ -20,8 +20,8 @@ class LinkBaseTestClass extends DrupalWebTestCase {
function
setUp
()
{
$modules
=
func_get_args
();
$modules
=
(
isset
(
$modules
[
0
])
&&
is_array
(
$modules
[
0
])
?
$modules
[
0
]
:
$modules
);
$modules
=
'field_ui'
;
$modules
=
'link'
;
$modules
[]
=
'field_ui'
;
$modules
[]
=
'link'
;
parent
::
setUp
(
$modules
);
$this
->
web_user
=
$this
->
drupalCreateUser
(
$this
->
permissions
);
...
...
tests/link.token.test
View file @
48f62294
...
...
@@ -28,9 +28,6 @@ class LinkTokenTest extends LinkBaseTestClass {
* Creates a node with a token in the link title and checks the value.
*/
function
testUserTokenLinkCreate
()
{
/*$this->web_user = $this->drupalCreateUser(array('administer content types', 'access content', 'create page content'));
$this->drupalLogin($this->web_user);*/
// create field
$settings
=
array
(
'instance[settings][enable_tokens]'
=>
1
,
...
...
Write
Preview
Supports
Markdown
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