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