You are here

protected function EntityQueryTest::assertRevisionResult in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Entity/EntityQueryTest.php \Drupal\system\Tests\Entity\EntityQueryTest::assertRevisionResult()
1 call to EntityQueryTest::assertRevisionResult()
EntityQueryTest::testEntityQuery in core/modules/system/src/Tests/Entity/EntityQueryTest.php
Test basic functionality.

File

core/modules/system/src/Tests/Entity/EntityQueryTest.php, line 531
Contains \Drupal\system\Tests\Entity\EntityQueryTest.

Class

EntityQueryTest
Tests Entity Query functionality.

Namespace

Drupal\system\Tests\Entity

Code

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