Loading src/Tests/IpAnonymizeTestCase.php +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ class IpAnonymizeTestCase extends WebTestBase { * Basic tests for IP Anonymize module. */ protected function testIpAnonymize() { $admin_user = $this->drupalCreateUser(array('administer site configuration')); $admin_user = $this->drupalCreateUser(['administer site configuration']); $this->drupalLogin($admin_user); $this->assertTrue($this->getIp()); Loading @@ -40,7 +40,7 @@ class IpAnonymizeTestCase extends WebTestBase { */ protected function getIp() { return db_select('watchdog', 'w') ->fields('w', array('hostname')) ->fields('w', ['hostname']) ->range(0, 1) ->execute() ->fetchField(); Loading Loading
src/Tests/IpAnonymizeTestCase.php +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ class IpAnonymizeTestCase extends WebTestBase { * Basic tests for IP Anonymize module. */ protected function testIpAnonymize() { $admin_user = $this->drupalCreateUser(array('administer site configuration')); $admin_user = $this->drupalCreateUser(['administer site configuration']); $this->drupalLogin($admin_user); $this->assertTrue($this->getIp()); Loading @@ -40,7 +40,7 @@ class IpAnonymizeTestCase extends WebTestBase { */ protected function getIp() { return db_select('watchdog', 'w') ->fields('w', array('hostname')) ->fields('w', ['hostname']) ->range(0, 1) ->execute() ->fetchField(); Loading