Commit 48f62294 authored by John Fiala's avatar John Fiala
Browse files

By jcfiala: Fixed broken token tests - setUp on LinkBaseTestClass was broken.

parent 0b3bcb91
......@@ -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);
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment