Projet

Général

Profil

Révision 01a79e9a

Ajouté par Assos Assos il y a plus de 10 ans

Update to drupal 7.26

Voir les différences:

htmltest/modules/simpletest/tests/upgrade/upgrade.taxonomy.test
56 56
    $this->assertFalse(db_table_exists('taxonomy_vocabulary_node_type'), 'taxonomy_vocabulary_node_type has been removed.');
57 57
    $this->assertFalse(db_table_exists('taxonomy_term_node'), 'taxonomy_term_node has been removed.');
58 58

  
59
    // Check that taxonomy_index has not stored nids of unpublished nodes.
60
    $nids = db_query('SELECT nid from {node} WHERE status = :status', array(':status' => NODE_NOT_PUBLISHED))->fetchCol();
61
    $indexed_nids = db_query('SELECT DISTINCT nid from {taxonomy_index}')->fetchCol();
62
    $this->assertFalse(array_intersect($nids, $indexed_nids), 'No unpublished nid present in taxonomy_index');
63

  
59 64
    // Check that the node type 'page' has been associated to a taxonomy
60 65
    // reference field for each vocabulary.
61 66
    $voc_keys = array();

Formats disponibles : Unified diff