diff options
author | Robin Appelman <robin@icewind.nl> | 2017-02-06 13:19:33 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-02-08 15:17:02 +0100 |
commit | a359d0d7c7370cef5115ce5c04e438979ef103d6 (patch) | |
tree | 4bddae50652b4c809c0f53aeaffcee36f9a07f9c /apps | |
parent | fa49c4a13b6c5455b13ad44cfc158b271aa9b616 (diff) | |
download | nextcloud-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.php | 22 |
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'], - ]; - } - } |