public function QueryTest::_testQueryExecute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/Plugin/QueryTest.php \Drupal\views\Tests\Plugin\QueryTest::_testQueryExecute()
1 call to QueryTest::_testQueryExecute()
- QueryTest::testQuery in core/
modules/ views/ src/ Tests/ Plugin/ QueryTest.php - Tests query plugins.
File
- core/
modules/ views/ src/ Tests/ Plugin/ QueryTest.php, line 55 - Contains \Drupal\views\Tests\Plugin\QueryTest.
Class
- QueryTest
- Tests query plugins.
Namespace
Drupal\views\Tests\PluginCode
public function _testQueryExecute() {
$view = Views::getView('test_view');
$view
->setDisplay();
$view
->initQuery();
$view->query
->setAllItems($this
->dataSet());
$this
->executeView($view);
$this
->assertTrue($view->result, 'Make sure the view result got filled');
}