protected function EntityQueryTest::assertRevisionResult in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php \Drupal\KernelTests\Core\Entity\EntityQueryTest::assertRevisionResult()
- 10 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php \Drupal\KernelTests\Core\Entity\EntityQueryTest::assertRevisionResult()
1 call to EntityQueryTest::assertRevisionResult()
- EntityQueryTest::testEntityQuery in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryTest.php - Test basic functionality.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryTest.php, line 700
Class
- EntityQueryTest
- Tests Entity Query functionality.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function assertRevisionResult($keys, $expected) {
$assert = [];
foreach ($expected as $key => $binary) {
$assert[$keys[$key]] = strval($binary);
}
$this
->assertIdentical($this->queryResults, $assert);
return $assert;
}