You are here

public function UserProtectPermissionsWebTest::_testTemp in User protect 7

Temporary test function.

File

tests/UserProtectPermissionsWebTest.test, line 56
Contains UserProtectPermissionsWebTest.

Class

UserProtectPermissionsWebTest
Tests permissions.

Code

public function _testTemp() {
  $this
    ->createProtectedUser(array(
    'up_name' => 1,
  ));
  $this
    ->createProtectedRole(array(
    'up_pass' => 1,
  ));
  $account = $this
    ->drupalCreateUser(array(
    'administer userprotect',
  ));
  $this
    ->drupalLogin($account);
  $this
    ->drupalGet('admin/config/people/userprotect/protected_users');
  $this
    ->drupalGet('admin/config/people/userprotect/protected_roles');
}