private function RestrictIpServiceTest::getConfigFactory in Restrict IP 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/Service/RestrictIpServiceTest.php \Drupal\Tests\restrict_ip\Unit\Service\RestrictIpServiceTest::getConfigFactory()
- 3.x tests/src/Unit/Service/RestrictIpServiceTest.php \Drupal\Tests\restrict_ip\Unit\Service\RestrictIpServiceTest::getConfigFactory()
9 calls to RestrictIpServiceTest::getConfigFactory()
- RestrictIpServiceTest::settingsIpAddressesDataProvider in tests/
src/ Unit/ Service/ RestrictIpServiceTest.php - * Data provider for testSettingsIpAddresses()
- RestrictIpServiceTest::testBlacklist in tests/
src/ Unit/ Service/ RestrictIpServiceTest.php - * @covers ::testForBlock * @dataProvider blacklistDataProvider
- RestrictIpServiceTest::testCleanIpAddressInput in tests/
src/ Unit/ Service/ RestrictIpServiceTest.php - * @covers ::cleanIpAddressInput * @dataProvider cleanIpAddressInputDataProvider
- RestrictIpServiceTest::testGetCurrentPath in tests/
src/ Unit/ Service/ RestrictIpServiceTest.php - * @covers ::getCurrentPath
- RestrictIpServiceTest::testGetCurrentUserIp in tests/
src/ Unit/ Service/ RestrictIpServiceTest.php - * @covers ::getCurrentUserIp
File
- tests/
src/ Unit/ Service/ RestrictIpServiceTest.php, line 415
Class
- RestrictIpServiceTest
- @coversDefaultClass \Drupal\restrict_ip\Service\RestrictIpService @group restrict_ip
Namespace
Drupal\Tests\restrict_ip\Unit\ServiceCode
private function getConfigFactory(array $settings) {
return $this->configFactory = $this
->getConfigFactoryStub([
'restrict_ip.settings' => $settings,
]);
}