You are here

public function UnitTest::testIpPassValidation in Restrict Login or Role Access by IP Address 8.4

@dataProvider validIpProvider

File

tests/src/Unit/UnitTest.php, line 56

Class

UnitTest
Test the restrict by ip module.

Namespace

Drupal\Tests\restrict_by_ip\Unit

Code

public function testIpPassValidation($ip) {
  $this
    ->assertNull(IPTools::validateIP($ip));
}