Make all tests extend the new \Test\TestCase
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user