public function QueryGroupByTest::testGroupByCount in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/QueryGroupByTest.php \Drupal\views\Tests\QueryGroupByTest::testGroupByCount()
Tests the count aggregation function.
File
- core/
modules/ views/ src/ Tests/ QueryGroupByTest.php, line 142 - Contains \Drupal\views\Tests\QueryGroupByTest.
Class
- QueryGroupByTest
- Tests aggregate functionality of views, for example count.
Namespace
Drupal\views\TestsCode
public function testGroupByCount() {
$this
->groupByTestHelper('count', array(
4,
3,
));
}