summaryrefslogtreecommitdiff
path: root/modules/field/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/tests')
-rw-r--r--modules/field/tests/field.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/field/tests/field.test b/modules/field/tests/field.test
index a0290c1eb..286d1a493 100644
--- a/modules/field/tests/field.test
+++ b/modules/field/tests/field.test
@@ -17,8 +17,9 @@ class FieldTestCase extends DrupalWebTestCase {
*/
function setUp() {
// Call parent::setUp().
+ // @see http://www.php.net/manual/en/function.call-user-func-array.php#73105
$args = func_get_args();
- call_user_func_array(array('parent', 'setUp'), $args);
+ call_user_func_array(array($this, 'parent::setUp'), $args);
// Set default storage backend.
variable_set('field_storage_default', $this->default_storage);
}