public function QueryGroupByTest::testGroupByMax in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Kernel/QueryGroupByTest.php \Drupal\Tests\views\Kernel\QueryGroupByTest::testGroupByMax()
Tests the max aggregation function.
File
- core/
modules/ views/ tests/ src/ Kernel/ QueryGroupByTest.php, line 171
Class
- QueryGroupByTest
- Tests aggregate functionality of views, for example count.
Namespace
Drupal\Tests\views\KernelCode
public function testGroupByMax() {
$this
->groupByTestHelper('max', [
4,
7,
]);
}