protected function EntityQueryAggregateTest::assertSortedResults in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php \Drupal\KernelTests\Core\Entity\EntityQueryAggregateTest::assertSortedResults()
- 10 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryAggregateTest.php \Drupal\KernelTests\Core\Entity\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 core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryAggregateTest.php - Test aggregation support.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryAggregateTest.php, line 605
Class
- EntityQueryAggregateTest
- Tests the Entity Query Aggregation API.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function assertSortedResults($expected) {
return $this
->assertResults($expected, TRUE);
}