You are here

protected function EntityQueryAggregateTest::assertSortedResults in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php \Drupal\KernelTests\Core\Entity\EntityQueryAggregateTest::assertSortedResults()
  2. 9 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php \Drupal\KernelTests\Core\Entity\EntityQueryAggregateTest::assertSortedResults()

Asserts the results as expected regardless of order in rows.

@internal

Parameters

array $expected: An array of the expected results.

File

core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php, line 657

Class

EntityQueryAggregateTest
Tests the Entity Query Aggregation API.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected function assertSortedResults(array $expected) : void {
  $this
    ->assertResults($expected, TRUE);
}