You are here

function DraggableviewsTestCase::testNativeUnlimitedPager in DraggableViews 7

File

draggableviews_tests/draggableviews_tests.test, line 17

Class

DraggableviewsTestCase

Code

function testNativeUnlimitedPager() {

  // Create ten nodes.
  for ($i = 0; $i < 10; $i++) {
    $this
      ->drupalCreateNode();
  }

  // Login user able to reorder draggable view.
  $user = $this
    ->drupalCreateUser(array(
    'access content',
    'Allow Reordering',
  ));
  $this
    ->drupalLogin($user);
  $this
    ->verifyDraganddropView('native-pager-unlimited', 'native handler, unlimited pager');
}