You are here

public function QueryGroupByTest::testGroupByMin in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/QueryGroupByTest.php \Drupal\Tests\views\Kernel\QueryGroupByTest::testGroupByMin()

Tests the min aggregation function.

File

core/modules/views/tests/src/Kernel/QueryGroupByTest.php, line 164

Class

QueryGroupByTest
Tests aggregate functionality of views, for example count.

Namespace

Drupal\Tests\views\Kernel

Code

public function testGroupByMin() {
  $this
    ->groupByTestHelper('min', [
    1,
    5,
  ]);
}