You are here

public function AdminViewsNodeAdminTestCase::testAdminPage in Administration Views 7

Tests the node admin page.

File

tests/admin_views.test, line 413
Tests for the Administration Views module.

Class

AdminViewsNodeAdminTestCase
Tests the bundled node admin page.

Code

public function testAdminPage() {
  $this
    ->drupalGet('admin/content');
  $this
    ->assertResponse(200);
  $this
    ->assertRaw('view-admin-views-node');
  $this
    ->assertRaw('view-id-admin_views_node');
  $this
    ->assertRaw('view-display-id-system_1');
  $this
    ->assertRaw('admin-views-view');
  $this
    ->assertRaw('id="views-exposed-form-admin-views-node-system-1"');
}