rename proxy test
This commit is contained in:
parent
c8c722bc6d
commit
173c31e42a
|
@ -22,13 +22,13 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
namespace OCA\Files_sharing\Tests;
|
||||||
|
|
||||||
use OCA\Files\Share;
|
use OCA\Files\Share;
|
||||||
|
|
||||||
/**
|
class UnshareChildren extends TestCase {
|
||||||
* Class Test_Files_Sharing_Proxy
|
|
||||||
*/
|
protected $subsubfolder;
|
||||||
class Test_Files_Sharing_Proxy extends OCA\Files_sharing\Tests\TestCase {
|
|
||||||
|
|
||||||
const TEST_FOLDER_NAME = '/folder_share_api_test';
|
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();
|
parent::setUp();
|
||||||
|
|
||||||
// load proxies
|
// load proxies
|
||||||
OC::$CLASSPATH['OCA\Files\Share\Proxy'] = 'files_sharing/lib/proxy.php';
|
\OC::$CLASSPATH['OCA\Files\Share\Proxy'] = 'files_sharing/lib/proxy.php';
|
||||||
OC_FileProxy::register(new OCA\Files\Share\Proxy());
|
\OC_FileProxy::register(new \OCA\Files\Share\Proxy());
|
||||||
|
|
||||||
$this->folder = self::TEST_FOLDER_NAME;
|
$this->folder = self::TEST_FOLDER_NAME;
|
||||||
$this->subfolder = '/subfolder_share_api_test';
|
$this->subfolder = '/subfolder_share_api_test';
|
||||||
|
@ -66,7 +66,7 @@ class Test_Files_Sharing_Proxy extends OCA\Files_sharing\Tests\TestCase {
|
||||||
/**
|
/**
|
||||||
* @medium
|
* @medium
|
||||||
*/
|
*/
|
||||||
function testpreUnlink() {
|
function testUnshareChildren() {
|
||||||
|
|
||||||
$fileInfo2 = \OC\Files\Filesystem::getFileInfo($this->folder);
|
$fileInfo2 = \OC\Files\Filesystem::getFileInfo($this->folder);
|
||||||
|
|
Loading…
Reference in New Issue