$data['views_test_data'
]['table'
]['base'
]['query_id'
] = 'query_test';
return $data;
} /**
* Tests query plugins.
*/
public function testQuery() { $this->
_testInitQuery();
$this->
_testQueryExecute();
$this->
queryMethodsTests();
} /**
* Tests the ViewExecutable::initQuery method.
*/
public function _testInitQuery() { $view = Views::
getView('test_view'
);
$view->
setDisplay();
$view->
initQuery();
$this->
assertInstanceOf(QueryTestPlugin::
class,
$view->query
);
}