summaryrefslogtreecommitdiff
path: root/modules/field/tests
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-03-01 21:21:29 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-03-01 21:21:29 -0800
commit7500ee40f48666c71736fd0527aa61974a37209f (patch)
tree0c22d20e861b1c1e162fd6e2829f95833aa309e0 /modules/field/tests
parentdf911f3f5081b258eda937c4791eb854fe2720be (diff)
downloadbrdo-7500ee40f48666c71736fd0527aa61974a37209f.tar.gz
brdo-7500ee40f48666c71736fd0527aa61974a37209f.tar.bz2
Issue #1264728 by yched, Albert Volkman: Refresh field 'active' state in module_enable() / _disable().
Diffstat (limited to 'modules/field/tests')
-rw-r--r--modules/field/tests/field.test2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/field/tests/field.test b/modules/field/tests/field.test
index 657f1f364..70dc1a62a 100644
--- a/modules/field/tests/field.test
+++ b/modules/field/tests/field.test
@@ -2357,7 +2357,6 @@ class FieldCrudTestCase extends FieldTestCase {
$this->assertTrue($field_definition <= $field, t('The field was properly read.'));
module_disable($modules, FALSE);
- drupal_flush_all_caches();
$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.'));
@@ -2370,7 +2369,6 @@ class FieldCrudTestCase extends FieldTestCase {
$module = array_shift($modules);
module_enable(array($module), FALSE);
- drupal_flush_all_caches();
}
// Check that the field is active again after all modules have been