]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove outdated test
authorRobin Appelman <icewind@owncloud.com>
Thu, 13 Nov 2014 16:37:00 +0000 (17:37 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 16 Feb 2015 12:52:11 +0000 (13:52 +0100)
apps/files_external/tests/smbfunctions.php [deleted file]

diff --git a/apps/files_external/tests/smbfunctions.php b/apps/files_external/tests/smbfunctions.php
deleted file mode 100644 (file)
index cf9f7cb..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-/**
- * Copyright (c) 2013 Vincent Petry <pvince81@owncloud.com>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
- */
-
-namespace Test\Files\Storage;
-
-class SMBFunctions extends \Test\TestCase {
-
-       protected function setUp() {
-               parent::setUp();
-
-               // dummy config
-               $this->config = array(
-                       'run'=>false,
-                       'user'=>'test',
-                       'password'=>'testpassword',
-                       'host'=>'smbhost',
-                       'share'=>'/sharename',
-                       'root'=>'/rootdir/',
-               );
-
-               $this->instance = new \OC\Files\Storage\SMB($this->config);
-       }
-
-       public function testGetId() {
-               $this->assertEquals('smb::test@smbhost//sharename//rootdir/', $this->instance->getId());
-       }
-
-       public function testConstructUrl() {
-               $this->assertEquals("smb://test:testpassword@smbhost/sharename/rootdir/abc", $this->instance->constructUrl('/abc'));
-               $this->assertEquals("smb://test:testpassword@smbhost/sharename/rootdir/abc", $this->instance->constructUrl('/abc/'));
-               $this->assertEquals("smb://test:testpassword@smbhost/sharename/rootdir/abc%2F", $this->instance->constructUrl('/abc/.'));
-               $this->assertEquals("smb://test:testpassword@smbhost/sharename/rootdir/abc%2Fdef", $this->instance->constructUrl('/abc/def'));
-       }
-}