summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-02-06 13:19:33 +0100
committerRobin Appelman <robin@icewind.nl>2017-02-08 15:17:02 +0100
commita359d0d7c7370cef5115ce5c04e438979ef103d6 (patch)
tree4bddae50652b4c809c0f53aeaffcee36f9a07f9c /apps
parentfa49c4a13b6c5455b13ad44cfc158b271aa9b616 (diff)
downloadnextcloud-server-a359d0d7c7370cef5115ce5c04e438979ef103d6.tar.gz
nextcloud-server-a359d0d7c7370cef5115ce5c04e438979ef103d6.zip
remove test for removed code
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r--apps/federatedfilesharing/tests/AddressHandlerTest.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/apps/federatedfilesharing/tests/AddressHandlerTest.php b/apps/federatedfilesharing/tests/AddressHandlerTest.php
index f59855dd4d1..6d215d40156 100644
--- a/apps/federatedfilesharing/tests/AddressHandlerTest.php
+++ b/apps/federatedfilesharing/tests/AddressHandlerTest.php
@@ -202,26 +202,4 @@ class AddressHandlerTest extends \Test\TestCase {
['httpserver.com', false],
];
}
-
- /**
- * @dataProvider dataTestFixRemoteUrl
- *
- * @param string $url
- * @param string $expected
- */
- public function testFixRemoteUrl($url, $expected) {
- $this->assertSame($expected,
- $this->invokePrivate($this->addressHandler, 'fixRemoteURL', [$url])
- );
- }
-
- public function dataTestFixRemoteUrl() {
- return [
- ['http://localhost', 'http://localhost'],
- ['http://localhost/', 'http://localhost'],
- ['http://localhost/index.php', 'http://localhost'],
- ['http://localhost/index.php/s/AShareToken', 'http://localhost'],
- ];
- }
-
}