You are here

protected function EntityQueryTest::assertRevisionResult in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php \Drupal\KernelTests\Core\Entity\EntityQueryTest::assertRevisionResult()
  2. 9 core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php \Drupal\KernelTests\Core\Entity\EntityQueryTest::assertRevisionResult()

@internal

File

core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php, line 742

Class

EntityQueryTest
Tests Entity Query functionality.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected function assertRevisionResult(array $keys, array $expected) : void {
  $assert = [];
  foreach ($expected as $key => $binary) {
    $assert[$keys[$key]] = strval($binary);
  }
  $this
    ->assertSame($assert, $this->queryResults);
}