diff options
-rw-r--r-- | modules/taxonomy/taxonomy.test | 1 | ||||
-rw-r--r-- | profiles/default/default.install | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.test b/modules/taxonomy/taxonomy.test index e7b41599c..6b64bf8cc 100644 --- a/modules/taxonomy/taxonomy.test +++ b/modules/taxonomy/taxonomy.test @@ -326,6 +326,7 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase { $this->instance = array( 'field_name' => 'taxonomy_' . $this->vocabulary->machine_name, 'bundle' => 'article', + 'object_type' => 'node', 'widget' => array( 'type' => 'options_select', ), diff --git a/profiles/default/default.install b/profiles/default/default.install index 449a61dc8..60338f582 100644 --- a/profiles/default/default.install +++ b/profiles/default/default.install @@ -192,7 +192,7 @@ function default_install() { taxonomy_vocabulary_save($vocabulary); $instance = array( 'field_name' => 'taxonomy_' . $vocabulary->machine_name, - 'object_type' => 'taxonomy_term', + 'object_type' => 'node', 'label' => $vocabulary->name, 'bundle' => 'article', 'description' => $vocabulary->help, |