You are here

public function ViewsQueryGroupByTest::testGroupBySum in Views (for Drupal 7) 7.3

File

tests/views_groupby.test, line 325
Definitions of ViewsQueryGroupByTest and ViewsUiGroupbyTestCase.

Class

ViewsQueryGroupByTest
Tests aggregate functionality of views, for example count.

Code

public function testGroupBySum() {
  $this
    ->GroupByTestHelper('sum', array(
    10,
    18,
  ));
}