Browse Source

remove test for removed code

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/3297/head
Robin Appelman 9 years ago
parent
commit
a359d0d7c7
No known key found for this signature in database GPG Key ID: CBCA68FBAEBF98C9
  1. 22
      apps/federatedfilesharing/tests/AddressHandlerTest.php

22
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'],
];
}
}
Loading…
Cancel
Save