summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-12-04 12:16:33 +0100
committerLukas Reschke <lukas@owncloud.com>2014-12-05 11:29:04 +0100
commit5d56eba398357d5b324137ac55997d46d25f0051 (patch)
tree7f679d684cf9ddbedb461645e2dd900f1d7613d3 /tests
parent0b80c5e18e2dfbc492b380459a9b9dac4d2132c8 (diff)
downloadnextcloud-server-5d56eba398357d5b324137ac55997d46d25f0051.tar.gz
nextcloud-server-5d56eba398357d5b324137ac55997d46d25f0051.zip
Add test for IPv6 without port
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/request.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/request.php b/tests/lib/request.php
index e93d63cba4f..b27801a9d56 100644
--- a/tests/lib/request.php
+++ b/tests/lib/request.php
@@ -196,7 +196,8 @@ class Test_Request extends PHPUnit_Framework_TestCase {
return array(
array('localhost:500', 'localhost'),
array('foo.com', 'foo.com'),
- array('[1fff:0:a88:85a3::ac1f]:801', '[1fff:0:a88:85a3::ac1f]')
+ array('[1fff:0:a88:85a3::ac1f]:801', '[1fff:0:a88:85a3::ac1f]'),
+ array('[1fff:0:a88:85a3::ac1f]', '[1fff:0:a88:85a3::ac1f]')
);
}