Commit 173c31e4 authored by Robin Appelman's avatar Robin Appelman
Browse files

rename proxy test

parent c8c722bc
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment