summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-09-20 12:46:22 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-09-22 16:39:42 +0200
commit3c47caf08b4eab55264c5a1814e31805fc49a819 (patch)
tree66bcdfa559bd9a8f1c5acc75b03b1c4c765cd946 /tests
parent515e05cf16f7d2407388d0a3120d019820f08fe4 (diff)
downloadnextcloud-server-3c47caf08b4eab55264c5a1814e31805fc49a819.tar.gz
nextcloud-server-3c47caf08b4eab55264c5a1814e31805fc49a819.zip
Fix tests for nested v4 in v6
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Http/Client/LocalAddressCheckerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Http/Client/LocalAddressCheckerTest.php b/tests/lib/Http/Client/LocalAddressCheckerTest.php
index 991801f043d..8c8e64eddf9 100644
--- a/tests/lib/Http/Client/LocalAddressCheckerTest.php
+++ b/tests/lib/Http/Client/LocalAddressCheckerTest.php
@@ -91,7 +91,7 @@ class LocalAddressCheckerTest extends \Test\TestCase {
return [
['192.168.0.1'],
['fe80::200:5aee:feaa:20a2'],
- ['0:0:0:0:0:0:10.0.0.1'],
+ ['0:0:0:0:0:ffff:10.0.0.1'],
['0:0:0:0:0:ffff:127.0.0.0'],
['10.0.0.1'],
['::'],
@@ -112,7 +112,7 @@ class LocalAddressCheckerTest extends \Test\TestCase {
['172.16.42.1'],
['[fdf8:f53b:82e4::53]/secret.ics'],
['[fe80::200:5aee:feaa:20a2]/secret.ics'],
- ['[0:0:0:0:0:0:10.0.0.1]/secret.ics'],
+ ['[0:0:0:0:0:ffff:10.0.0.1]/secret.ics'],
['[0:0:0:0:0:ffff:127.0.0.0]/secret.ics'],
['10.0.0.1'],
['another-host.local'],