1 views_handler_filter_numeric.test | public ViewsHandlerFilterNumericTest::testFilterNumericExposedGroupedEmpty() |
File
- core/
modules/ views/ tests/ handlers/ views_handler_filter_numeric.test, line 264 - Definition of ViewsHandlerFilterNumericTest.
Class
- ViewsHandlerFilterNumericTest
- Tests the numeric filter handler.
Code
public function testFilterNumericExposedGroupedEmpty() {
$filters = $this->getGroupedExposedFilters();
$view = $this->getBasicPageView();
// Filter: Age, Operator: empty, Value:
$filters['age']['group_info']['default_group'] = 4;
$view->set_display('page_1');
$view->display['page_1']->handler->override_option('filters', $filters);
$this->executeView($view);
$resultset = array(
);
$this->assertIdenticalResultset($view, $resultset, $this->column_map);
}