protected function EntityQueryAggregateTest::assertSortedResults in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php \Drupal\KernelTests\Core\Entity\EntityQueryAggregateTest::assertSortedResults()
- 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\EntityCode
protected function assertSortedResults(array $expected) : void {
$this
->assertResults($expected, TRUE);
}