diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-08-29 23:12:18 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-08-29 23:12:18 -0700 |
commit | 16b5120350eccb2f40c1eea6b2a854bdf9dc87bb (patch) | |
tree | 0b5529208bc57030887b111fd996a6c04acf91eb /modules/taxonomy | |
parent | b9f87d85b5e9e8544b81d26ab17859a28ef64d17 (diff) | |
download | brdo-16b5120350eccb2f40c1eea6b2a854bdf9dc87bb.tar.gz brdo-16b5120350eccb2f40c1eea6b2a854bdf9dc87bb.tar.bz2 |
Issue #943772 by jpsoto, yched, catch, bojanz, pillarsdotnet, steinmb: Fixed field_delete_field() and others fail for inactive fields.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index aa7cc2e44..9a89b9c98 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -360,7 +360,6 @@ class TaxonomyVocabularyUnitTest extends TaxonomyWebTestCase { $this->field_name = drupal_strtolower($this->randomName() . '_field_name'); $this->field = array('field_name' => $this->field_name, 'type' => 'text', 'cardinality' => 4); $this->field = field_create_field($this->field); - $this->field_id = $this->field['id']; $this->instance = array( 'field_name' => $this->field_name, 'entity_type' => 'taxonomy_term', @@ -370,6 +369,7 @@ class TaxonomyVocabularyUnitTest extends TaxonomyWebTestCase { field_create_instance($this->instance); module_disable(array('taxonomy')); + drupal_flush_all_caches(); require_once DRUPAL_ROOT . '/includes/install.inc'; drupal_uninstall_modules(array('taxonomy')); module_enable(array('taxonomy')); |