You are here

public function BlockAriaLandmarkRolesRoleTest::testAdminFormSetting in Block ARIA Landmark Roles 7

Same name and namespace in other branches
  1. 7.2 tests/role_tests.test \BlockAriaLandmarkRolesRoleTest::testAdminFormSetting()

Ensure the ARIA landmark role input field exists.

File

tests/role_tests.test, line 53
Tests for adding ARIA roles to blocks.

Class

BlockAriaLandmarkRolesRoleTest
Test adding ARIA roles to blocks.

Code

public function testAdminFormSetting() {
  $this
    ->drupalLogin($this
    ->drupalCreateUser(array(
    'administer blocks',
  )));
  $this
    ->drupalGet('admin/structure/block/manage/system/main/configure');
  $this
    ->assertFieldByName('role');
}