Browse Source
remove test for removed code
Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/3297/head
Robin Appelman
9 years ago
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
1 changed files with
0 additions and
22 deletions
-
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'], |
|
|
|
]; |
|
|
|
} |
|
|
|
|
|
|
|
} |