You are here

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

File

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

Class

ViewsQueryGroupByTest
Tests aggregate functionality of views, for example count.

Code

public function testGroupByAverage() {
  $this
    ->GroupByTestHelper('avg', array(
    2.5,
    6,
  ));
}