protected function EntityQueryAggregateTest::assertSortedResults

Asserts the results as expected regardless of order in rows.

Parameters

array $expected: An array of the expected results.

1 call to EntityQueryAggregateTest::assertSortedResults()
EntityQueryAggregateTest::testAggregation in drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryAggregateTest.php
Test aggregation support.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryAggregateTest.php, line 588
Contains \Drupal\system\Tests\Entity\EntityQueryAggregateTest.

Class

EntityQueryAggregateTest
Defines a test for testing aggregation support for entity query.

Namespace

Drupal\system\Tests\Entity

Code

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