'name' => 'Ringo',
'age' => 28,
],
];
$this->
assertCount(3,
$view->result
);
$this->
assertIdenticalResultset($view,
$expected_result,
$this->columnMap
);
} public function testFilterInOperatorGroupedExposedSimple() { $filters =
$this->
getGroupedExposedFilters();
$view = Views::
getView('test_view'
);
// Filter: Age, Operator: in, Value: 26, 30
$filters['age'
]['group_info'
]['default_group'
] = 1;
$view->
setDisplay();
$view->displayHandlers->
get('default'
)->
overrideOption('filters',
$filters);
$this->
executeView($view);
$expected_result =
[ [