summaryrefslogtreecommitdiff
path: root/modules/field/tests
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-28 13:56:25 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-28 13:56:25 +0000
commitdba61c45e60c88f60b3d315fb083369a7ebaf2b2 (patch)
treead267cc7d745c4887763aefeafb2004ff147f1b8 /modules/field/tests
parentf58a4c7206998030c604f86ea32e58f5f3986e55 (diff)
downloadbrdo-dba61c45e60c88f60b3d315fb083369a7ebaf2b2.tar.gz
brdo-dba61c45e60c88f60b3d315fb083369a7ebaf2b2.tar.bz2
#599122 follow-up by scor and catch: Do not use module_load_include() in global context.
Diffstat (limited to 'modules/field/tests')
-rw-r--r--modules/field/tests/field_test.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/field/tests/field_test.module b/modules/field/tests/field_test.module
index f7c539604..5c8689c2c 100644
--- a/modules/field/tests/field_test.module
+++ b/modules/field/tests/field_test.module
@@ -14,9 +14,9 @@
* test helper functions
*/
-module_load_include('inc', 'field_test', 'field_test.entity');
-module_load_include('inc', 'field_test', 'field_test.field');
-module_load_include('inc', 'field_test', 'field_test.storage');
+require_once DRUPAL_ROOT . '/modules/field/tests/field_test.entity.inc';
+require_once DRUPAL_ROOT . '/modules/field/tests/field_test.field.inc';
+require_once DRUPAL_ROOT . '/modules/field/tests/field_test.storage.inc';
/**
* Implements hook_permission().