diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-09-13 14:40:04 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-09-26 23:10:25 +0200 |
commit | f2c8e1ed2f2e5c8c4801f9fd8122cc92f6850fa8 (patch) | |
tree | 7478c19d0ac970f161400ca51d6bb3c75e045a92 /apps/files_sharing/tests/Controller | |
parent | a7a651f4a44be00b7be777baf4adfa76a8490c9f (diff) | |
download | nextcloud-server-f2c8e1ed2f2e5c8c4801f9fd8122cc92f6850fa8.tar.gz nextcloud-server-f2c8e1ed2f2e5c8c4801f9fd8122cc92f6850fa8.zip |
remove unused method
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/files_sharing/tests/Controller')
-rw-r--r-- | apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php index 80cc66afaac..d300b0fcfca 100644 --- a/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareesAPIControllerTest.php @@ -450,25 +450,4 @@ class ShareesAPIControllerTest extends TestCase { $this->assertEquals($expected, $this->invokePrivate($this->sharees, 'isV2')); } - - /** - * @dataProvider dataTestFixRemoteUrl - * - * @param string $url - * @param string $expected - */ - public function testFixRemoteUrl($url, $expected) { - $this->assertSame($expected, - $this->invokePrivate($this->sharees, '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'], - ]; - } } |