Commit ce3fce34 authored by webchick's avatar webchick
Browse files

#543902 by yched: Remove unneeded modules in field.test setUp().

parent 5cf70c0a
...@@ -868,7 +868,7 @@ class FieldInfoTestCase extends DrupalWebTestCase { ...@@ -868,7 +868,7 @@ class FieldInfoTestCase extends DrupalWebTestCase {
} }
function setUp() { function setUp() {
parent::setUp('field_sql_storage', 'field', 'field_test'); parent::setUp('field_test');
} }
/** /**
...@@ -1062,7 +1062,7 @@ class FieldFormTestCase extends DrupalWebTestCase { ...@@ -1062,7 +1062,7 @@ class FieldFormTestCase extends DrupalWebTestCase {
} }
function setUp() { function setUp() {
parent::setUp('field_sql_storage', 'field', 'field_test'); parent::setUp('field_test');
$web_user = $this->drupalCreateUser(array('access field_test content', 'administer field_test content')); $web_user = $this->drupalCreateUser(array('access field_test content', 'administer field_test content'));
$this->drupalLogin($web_user); $this->drupalLogin($web_user);
...@@ -1351,7 +1351,7 @@ class FieldCrudTestCase extends DrupalWebTestCase { ...@@ -1351,7 +1351,7 @@ class FieldCrudTestCase extends DrupalWebTestCase {
} }
function setUp() { function setUp() {
parent::setUp('field_sql_storage', 'field', 'field_test'); parent::setUp('field_test');
} }
// TODO : test creation with // TODO : test creation with
...@@ -1585,7 +1585,7 @@ class FieldInstanceCrudTestCase extends DrupalWebTestCase { ...@@ -1585,7 +1585,7 @@ class FieldInstanceCrudTestCase extends DrupalWebTestCase {
} }
function setUp() { function setUp() {
parent::setUp('field_sql_storage', 'field', 'field_test'); parent::setUp('field_test');
$this->field = array( $this->field = array(
'field_name' => drupal_strtolower($this->randomName()), 'field_name' => drupal_strtolower($this->randomName()),
'type' => 'test_field', 'type' => 'test_field',
......
Supports Markdown
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