You are here

public function RestrictByIpRoleTests::testRoleAppliedNoRestrictions in Restrict Login or Role Access by IP Address 7.3

File

./restrict_by_ip.test, line 183

Class

RestrictByIpRoleTests
Test that role restrictions work. Assumes that local testing environment has IP address of 127.0.0.1.

Code

public function testRoleAppliedNoRestrictions() {
  $this
    ->drupalLogin($this->regularUser);
  $this
    ->drupalGet('user/' . $this->regularUser->uid . '/edit');
  $this
    ->assertText($this->role['name']);
}