You are here

public function QueryGroupByTest::testGroupByMax in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Tests/QueryGroupByTest.php \Drupal\views\Tests\QueryGroupByTest::testGroupByMax()

Tests the max aggregation function.

File

core/modules/views/src/Tests/QueryGroupByTest.php, line 170
Contains \Drupal\views\Tests\QueryGroupByTest.

Class

QueryGroupByTest
Tests aggregate functionality of views, for example count.

Namespace

Drupal\views\Tests

Code

public function testGroupByMax() {
  $this
    ->groupByTestHelper('max', array(
    4,
    7,
  ));
}