You are here

protected property EFQViewsTermTestCase::$expectedResults in EntityFieldQuery Views Backend 7

File

tests/efq_views.test, line 477
Tests for EFQ Views query features.

Class

EFQViewsTermTestCase

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,
  ),
);