summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-18 07:50:45 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-18 07:50:45 +0000
commit513d7eb87ef04e783ee81b2fdf1307389cf8557a (patch)
treedf8037e19a6097a33491d8b898c247a4c25dccf1
parent8387caea67cffeb02933c19c4bc6102144a34f14 (diff)
downloadbrdo-513d7eb87ef04e783ee81b2fdf1307389cf8557a.tar.gz
brdo-513d7eb87ef04e783ee81b2fdf1307389cf8557a.tar.bz2
#607652 by catch: Fix uncaught exceptions in taxonomy tests.
-rw-r--r--modules/taxonomy/taxonomy.test1
-rw-r--r--profiles/default/default.install2
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,