You are here

public function PermissionsLockUnrestrictedTestCase::testUnrestrictedRole in Permissions Lock 7

File

./permissions_lock.test, line 107
Test the permissions_lock module

Class

PermissionsLockUnrestrictedTestCase

Code

public function testUnrestrictedRole() {

  // go to the permissions administration page
  $this
    ->drupalGet('admin/people/permissions');

  // make sure we are on the administration page
  $this
    ->assertResponse(200, t('User has access to the administration page'));

  // check if the defined permissions are locked
  $this
    ->assertText(t('authenticated user'));
}