Browse Source

Fix test

tags/1.1.22
Victor Dubiniuk 4 years ago
parent
commit
61d2a6cb6f
2 changed files with 1 additions and 5 deletions
  1. 1
    1
      tests/bootstrap.php
  2. 0
    4
      tests/controller/documentcontrollertest.php

+ 1
- 1
tests/bootstrap.php View File

@@ -9,5 +9,5 @@ require_once __DIR__.'/../../../lib/base.php';
if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
\OC_App::loadApp('documents');
OC_Hook::clear();

+ 0
- 4
tests/controller/documentcontrollertest.php View File

@@ -51,10 +51,6 @@ class DocumentControllerTest extends \PHPUnit_Framework_TestCase {
\OC_Util::setupFS();
}
public static function tearDownAfterClass(){
\OC_User::deleteUser(\OC_User::getUserSession()->getUser()->getUID());
}
public function testRename(){
$result = array(
'status' => 'error',

Loading…
Cancel
Save