Skip to content

Commit

Permalink
Use alternative domain for IPv6 tests of allowed IPs (#22374)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkleiner committed Jul 5, 2024
1 parent e39bf89 commit a6cc97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/CoreHome/tests/Integration/LoginAllowlistTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function testGetAllowlistedLoginIpsShouldResolveIp()

public function testGetAllowlistedLoginIpsShouldResolveIpv6Only()
{
$this->setGeneralConfig('login_allowlist_ip', ['192.168.33.1', 'integration-test.matomo.org', '127.0.0.1']);
$this->setGeneralConfig('login_allowlist_ip', ['192.168.33.1', 'integration-test-do-not-delete.media-analytics.net', '127.0.0.1']);
$this->assertSame(['192.168.33.1', '::1', '127.0.0.1'], $this->allowlist->getAllowlistedLoginIps());
}

Expand Down

0 comments on commit a6cc97a

Please sign in to comment.