Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/tests/handlers/views_handler_filter_equality.test
34 34
  function testEqual() {
35 35
    $view = $this->getBasicView();
36 36

  
37
    // Change the filtering
37
    // Change the filtering.
38 38
    $view->display['default']->handler->override_option('filters', array(
39 39
      'name' => array(
40 40
        'id' => 'name',
......
59 59
    $filters = $this->getGroupedExposedFilters();
60 60
    $view = $this->getBasicPageView();
61 61

  
62
    // Filter: Name, Operator: =, Value: Ringo
62
    // Filter: Name, Operator: =, Value: Ringo.
63 63
    $filters['name']['group_info']['default_group'] = 1;
64 64
    $view->set_display('page_1');
65 65
    $view->display['page_1']->handler->override_option('filters', $filters);
......
76 76
  function testNotEqual() {
77 77
    $view = $this->getBasicView();
78 78

  
79
    // Change the filtering
79
    // Change the filtering.
80 80
    $view->display['default']->handler->override_option('filters', array(
81 81
      'name' => array(
82 82
        'id' => 'name',
......
110 110
    $filters = $this->getGroupedExposedFilters();
111 111
    $view = $this->getBasicPageView();
112 112

  
113
    // Filter: Name, Operator: !=, Value: Ringo
113
    // Filter: Name, Operator: !=, Value: Ringo.
114 114
    $filters['name']['group_info']['default_group'] = 2;
115 115
    $view->set_display('page_1');
116 116
    $view->display['page_1']->handler->override_option('filters', $filters);

Formats disponibles : Unified diff