public function ConfigureGeoIpTest::testConfigureForm in GeoIP API 8.2
Tests the configure form.
File
- tests/
src/ Functional/ ConfigureGeoIpTest.php, line 22
Class
- ConfigureGeoIpTest
- Tests the GeoIP configuration form.
Namespace
Drupal\Tests\geoip\FunctionalCode
public function testConfigureForm() {
$admin = $this
->createUser([], NULL, TRUE);
$this
->drupalLogin($admin);
$this
->drupalGet(Url::fromRoute('system.admin_config_system'));
$this
->assertSession()
->linkExists('Configure GeoIP');
}