1 views_handler_filter_string.test | ViewsHandlerFilterStringTest::testFilterStringLonger() |
File
- core/
modules/ views/ tests/ handlers/ views_handler_filter_string.test, line 613 - Definition of ViewsHandlerFilterStringTest.
Class
- ViewsHandlerFilterStringTest
- Tests the core views_handler_filter_string handler.
Code
function testFilterStringLonger() {
$view = $this->getBasicView();
// Change the filtering
$view->display['default']->handler->override_option('filters', array(
'name' => array(
'id' => 'name',
'table' => 'views_test',
'field' => 'name',
'relationship' => 'none',
'operator' => 'longerthan',
'value' => 7,
),
));
$this->executeView($view);
$resultset = array(
array(
'name' => 'Meredith',
),
);
$this->assertIdenticalResultset($view, $resultset, $this->column_map);
}