Commit f4ceee4e authored by mark burdett's avatar mark burdett
Browse files

array syntax fix

parent 7dda01a2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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());
@@ -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();