diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-03-18 15:16:55 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-03-26 19:56:31 +0100 |
commit | 173c31e42af766298c9f43837a9a3e4021cdc131 (patch) | |
tree | 1de08badebc94e205867702b58faef4dd6ce04c6 /apps/files_sharing | |
parent | c8c722bc6de3a58e10ba42a55a178d3ba9308bae (diff) | |
download | nextcloud-server-173c31e42af766298c9f43837a9a3e4021cdc131.tar.gz nextcloud-server-173c31e42af766298c9f43837a9a3e4021cdc131.zip |
rename proxy test
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/tests/unsharechildren.php (renamed from apps/files_sharing/tests/proxy.php) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/files_sharing/tests/proxy.php b/apps/files_sharing/tests/unsharechildren.php index cfdc7741733..574f1dd08d8 100644 --- a/apps/files_sharing/tests/proxy.php +++ b/apps/files_sharing/tests/unsharechildren.php @@ -22,13 +22,13 @@ * */ +namespace OCA\Files_sharing\Tests; use OCA\Files\Share; -/** - * Class Test_Files_Sharing_Proxy - */ -class Test_Files_Sharing_Proxy extends OCA\Files_sharing\Tests\TestCase { +class UnshareChildren extends TestCase { + + protected $subsubfolder; const TEST_FOLDER_NAME = '/folder_share_api_test'; @@ -38,8 +38,8 @@ class Test_Files_Sharing_Proxy extends OCA\Files_sharing\Tests\TestCase { parent::setUp(); // load proxies - OC::$CLASSPATH['OCA\Files\Share\Proxy'] = 'files_sharing/lib/proxy.php'; - OC_FileProxy::register(new OCA\Files\Share\Proxy()); + \OC::$CLASSPATH['OCA\Files\Share\Proxy'] = 'files_sharing/lib/proxy.php'; + \OC_FileProxy::register(new \OCA\Files\Share\Proxy()); $this->folder = self::TEST_FOLDER_NAME; $this->subfolder = '/subfolder_share_api_test'; @@ -66,7 +66,7 @@ class Test_Files_Sharing_Proxy extends OCA\Files_sharing\Tests\TestCase { /** * @medium */ - function testpreUnlink() { + function testUnshareChildren() { $fileInfo2 = \OC\Files\Filesystem::getFileInfo($this->folder); |