summaryrefslogtreecommitdiff
path: root/modules/field/tests
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-13 05:08:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-13 05:08:29 +0000
commitc33d0f7be84eef3f3cd3a6d4855fc315adb3c554 (patch)
tree27a517956cb20111ff78a14bc725a62464affe0a /modules/field/tests
parent3a0f6b33720b1a939ec2f828bfefd31b6c51817f (diff)
downloadbrdo-c33d0f7be84eef3f3cd3a6d4855fc315adb3c554.tar.gz
brdo-c33d0f7be84eef3f3cd3a6d4855fc315adb3c554.tar.bz2
#399642 follow-up by carlos8f: Replace drupal_install_modules() with an improved module_enable().
Diffstat (limited to 'modules/field/tests')
-rw-r--r--modules/field/tests/field.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/tests/field.test b/modules/field/tests/field.test
index b207bb55e..3052af9ad 100644
--- a/modules/field/tests/field.test
+++ b/modules/field/tests/field.test
@@ -2253,7 +2253,7 @@ class FieldCrudTestCase extends FieldTestCase {
$field = field_read_field($field_name);
$this->assertTrue($field_definition <= $field, t('The field was properly read.'));
- module_disable($modules);
+ module_disable($modules, FALSE);
$fields = field_read_fields(array('field_name' => $field_name), array('include_inactive' => TRUE));
$this->assertTrue(isset($fields[$field_name]) && $field_definition < $field, t('The field is properly read when explicitly fetching inactive fields.'));
@@ -2265,7 +2265,7 @@ class FieldCrudTestCase extends FieldTestCase {
$this->assertTrue(empty($field), t('%modules disabled. The field is marked inactive.', array('%modules' => implode(', ', $modules))));
$module = array_shift($modules);
- module_enable(array($module));
+ module_enable(array($module), FALSE);
}
// Check that the field is active again after all modules have been