drop SimpleTest compatibility
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
class Test_User_FTP extends UnitTestCase{
|
||||
class Test_User_FTP extends PHPUnit_Framework_TestCase{
|
||||
/**
|
||||
* @var OC_User_IMAP $instance
|
||||
*/
|
||||
@@ -28,7 +28,7 @@ class Test_User_FTP extends UnitTestCase{
|
||||
|
||||
function testLogin() {
|
||||
$config=$this->getConfig();
|
||||
$this->assertEqual($config['ftp']['user'],$this->instance->checkPassword($config['ftp']['user'],$config['ftp']['password']));
|
||||
$this->assertEquals($config['ftp']['user'],$this->instance->checkPassword($config['ftp']['user'],$config['ftp']['password']));
|
||||
$this->assertFalse($this->instance->checkPassword($config['ftp']['user'],$config['ftp']['password'].'foo'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
class Test_User_Imap extends UnitTestCase{
|
||||
class Test_User_Imap extends PHPUnit_Framework_TestCase{
|
||||
/**
|
||||
* @var OC_User_IMAP $instance
|
||||
*/
|
||||
@@ -28,7 +28,7 @@ class Test_User_Imap extends UnitTestCase{
|
||||
|
||||
function testLogin() {
|
||||
$config=$this->getConfig();
|
||||
$this->assertEqual($config['imap']['user'],$this->instance->checkPassword($config['imap']['user'],$config['imap']['password']));
|
||||
$this->assertEquals($config['imap']['user'],$this->instance->checkPassword($config['imap']['user'],$config['imap']['password']));
|
||||
$this->assertFalse($this->instance->checkPassword($config['imap']['user'],$config['imap']['password'].'foo'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
class Test_User_SMB extends UnitTestCase{
|
||||
class Test_User_SMB extends PHPUnit_Framework_TestCase{
|
||||
/**
|
||||
* @var OC_User_IMAP $instance
|
||||
*/
|
||||
@@ -28,7 +28,7 @@ class Test_User_SMB extends UnitTestCase{
|
||||
|
||||
function testLogin() {
|
||||
$config=$this->getConfig();
|
||||
$this->assertEqual($config['smb']['user'],$this->instance->checkPassword($config['smb']['user'],$config['smb']['password']));
|
||||
$this->assertEquals($config['smb']['user'],$this->instance->checkPassword($config['smb']['user'],$config['smb']['password']));
|
||||
$this->assertFalse($this->instance->checkPassword($config['smb']['user'],$config['smb']['password'].'foo'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user