Asserts the results as expected regardless of order in rows.
Parameters
array $expected:
An array of the expected results.
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);
}