You are here

function EFQViewsSortTestCase::testSort in EntityFieldQuery Views Backend 7

File

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

Class

EFQViewsSortTestCase

Code

function testSort() {
  $this
    ->runTestView('field_integer', array(
    1,
    3,
    0,
    2,
  ));
  $this
    ->runTestView('label', array(
    1,
    3,
    0,
    2,
  ));
  $this
    ->runTestView('entity_id', array(
    0,
    1,
    2,
    3,
  ));
}