You are here

public function RoleTest::testRoleAppliedNoRestrictions in Restrict Login or Role Access by IP Address 8.4

File

src/Tests/RoleTest.php, line 33

Class

RoleTest
Tests roles are restricted to certain IP address range(s).

Namespace

Drupal\restrict_by_ip\Tests

Code

public function testRoleAppliedNoRestrictions() {
  $this
    ->drupalLogin($this->regularUser);
  $this
    ->drupalGet('user/' . $this->regularUser
    ->id() . '/edit');
  $this
    ->assertText($this->role
    ->label());
}