Merge branch '8.x' of git.drupal.org:project/drupal into 8.x

8.0.x
Dries 2012-06-23 12:56:47 -07:00
commit b9d6a08051
1 changed files with 1 additions and 1 deletions
core/modules/taxonomy/lib/Drupal/taxonomy/Tests

View File

@ -140,7 +140,7 @@ class TermIndexTest extends TaxonomyTestBase {
$index_count = db_query('SELECT COUNT(*) FROM {taxonomy_index} WHERE nid = :nid AND tid = :tid', array(
':nid' => $node->nid,
':tid' => $term_1->tid,
))->fetchField();
))->fetchField();
$this->assertEqual(0, $index_count, 'Term 1 is not indexed.');
$index_count = db_query('SELECT COUNT(*) FROM {taxonomy_index} WHERE nid = :nid AND tid = :tid', array(
':nid' => $node->nid,