You are here

public function AdminViewsPageDisplayTestCase::testAddPageViewAdminContent in Administration Views 7

Tests creation of a view page display that is a child of "admin/content".

File

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

Class

AdminViewsPageDisplayTestCase
Tests system child page display functionality.

Code

public function testAddPageViewAdminContent() {
  $this
    ->drupalLogin($this->admin_user);

  // Test the child view exists by checking for the page title.
  $this
    ->drupalGet('admin/content/test');
  $this
    ->assertText('admin_views_test_normal');
}