Skip to content
Snippets Groups Projects
Commit 513d7eb8 authored by Angie Byron's avatar Angie Byron
Browse files

#607652 by catch: Fix uncaught exceptions in taxonomy tests.

parent 8387caea
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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',
),
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment