public function RedirectTest::testIpDifferUserNoDestination in Restrict Login or Role Access by IP Address 8.4
File
- src/
Tests/ RedirectTest.php, line 38
Class
- RedirectTest
- Tests user is redirected when login denied.
Namespace
Drupal\restrict_by_ip\TestsCode
public function testIpDifferUserNoDestination() {
// Add out of range user IP.
$this->conf
->set('user.' . $this->regularUser
->id(), $this->outOfRangeCIDR)
->save();
$this
->assertRedirected();
}