You are here

public function CacheFlushUICRUD::testAdminPage in CacheFlush 7.3

Tests List page.

File

modules/cacheflush_ui/cacheflush_ui.test, line 131
Contains test suite for cacheflush ui module.

Class

CacheFlushUICRUD
Test the UI CRUD.

Code

public function testAdminPage() {
  $entities = $this
    ->createTestEntitys();
  $this
    ->drupalGet('admin/structure/cacheflush');
  $this
    ->assertLink(t('Add cacheflush'));
  $this
    ->assertLink(t('Reset'));
  $this
    ->filterTest();
  $this
    ->operationTest($entities[0], $entities[1]);
}