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