Make all tests extend the new \Test\TestCase

This commit is contained in:
Joas Schilling
2014-11-10 23:59:31 +01:00
parent 8dabb9c8de
commit de7c694823
3 changed files with 11 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
class Test_User_FTP extends PHPUnit_Framework_TestCase{
class Test_User_FTP extends \Test\TestCase {
/**
* @var OC_User_IMAP $instance
*/
@@ -21,7 +21,8 @@ class Test_User_FTP extends PHPUnit_Framework_TestCase{
$this->skipUnless($config['ftp']['run']);
}
function setUp() {
protected function setUp() {
parent::setUp();
$config=$this->getConfig();
$this->instance=new OC_User_FTP($config['ftp']['host']);
}