You are here

protected property EntityFieldQueryViewsTermTest::$expectedResults in EntityFieldQuery Views Backend 8

File

src/Tests/EntityFieldQueryViewsTermTest.php, line 26
Tests for EntityFieldQuery Views query features.

Class

EntityFieldQueryViewsTermTest
Class EntityFieldQueryViewsTermTest

Namespace

Drupal\efq_views\Tests

Code

protected $expectedResults = array(
  // First we test which entities have term 0. on them, that's where you see
  // a 0 in the map, so it's 0th and 2nd.
  array(
    0,
    2,
  ),
  // Now we test term 1. That's where you see an 1 in the map, so 1 and 2.
  array(
    1,
    2,
  ),
  // Now we test term 0 or 1. That's where you see a 0 or a 1 in the map,
  // so entities 0th, 1st, 2nd. Not the 3rd, however.
  array(
    0,
    1,
    2,
  ),
);