Fix test
This commit is contained in:
parent
e656e78958
commit
61d2a6cb6f
@ -9,5 +9,5 @@ require_once __DIR__.'/../../../lib/base.php';
|
|||||||
if(!class_exists('PHPUnit_Framework_TestCase')) {
|
if(!class_exists('PHPUnit_Framework_TestCase')) {
|
||||||
require_once('PHPUnit/Autoload.php');
|
require_once('PHPUnit/Autoload.php');
|
||||||
}
|
}
|
||||||
|
\OC_App::loadApp('documents');
|
||||||
OC_Hook::clear();
|
OC_Hook::clear();
|
||||||
|
@ -51,10 +51,6 @@ class DocumentControllerTest extends \PHPUnit_Framework_TestCase {
|
|||||||
\OC_Util::setupFS();
|
\OC_Util::setupFS();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function tearDownAfterClass(){
|
|
||||||
\OC_User::deleteUser(\OC_User::getUserSession()->getUser()->getUID());
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testRename(){
|
public function testRename(){
|
||||||
$result = array(
|
$result = array(
|
||||||
'status' => 'error',
|
'status' => 'error',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user