Projet

Général

Profil

Révision cd5c298a

Ajouté par Geoffroy Desvernay il y a plus de 5 ans

MAJ 7.60 -> 7.62

Voir les différences:

drupal7/modules/locale/locale.test
3188 3188
    foreach (language_types_info() as $type => $info) {
3189 3189
      if (isset($info['fixed'])) {
3190 3190
        $negotiation = variable_get("language_negotiation_$type", array());
3191
        $equal = count($info['fixed']) == count($negotiation);
3192
        while ($equal && list($id) = each($negotiation)) {
3193
          list(, $info_id) = each($info['fixed']);
3194
          $equal = $info_id == $id;
3195
        }
3191
        $equal = array_keys($negotiation) === array_values($info['fixed']);
3196 3192
        $this->assertTrue($equal, format_string('language negotiation for %type is properly set up', array('%type' => $type)));
3197 3193
      }
3198 3194
    }

Formats disponibles : Unified diff