public function QueryTest::_testQueryExecute in Views (for Drupal 7) 8.3
1 call to QueryTest::_testQueryExecute()
- QueryTest::testQuery in lib/
Drupal/ views/ Tests/ Plugin/ QueryTest.php - Tests query plugins.
File
- lib/
Drupal/ views/ Tests/ Plugin/ QueryTest.php, line 56 - Definition of Drupal\views\Tests\Plugin\QueryTest.
Class
- QueryTest
- Tests query plugins.
Namespace
Drupal\views\Tests\PluginCode
public function _testQueryExecute() {
$view = $this
->getBasicView();
$view
->initQuery();
$view->query
->setAllItems($this
->dataSet());
$this
->executeView($view);
$this
->assertTrue($view->result, 'Make sure the view result got filled');
}