diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-24 19:50:51 +0400 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-24 19:50:51 +0400 |
commit | 6b321b10561f2a95fb48c90940e6248b5a6460d9 (patch) | |
tree | 6fcc0e1df39ad569bb06e1ef06b98c9f09f6f21a /user_external | |
parent | 245dc3a9dd3c35c57962322f19220d5ef7dc0e57 (diff) |
drop SimpleTest compatibility
Diffstat (limited to 'user_external')
-rw-r--r-- | user_external/tests/ftp.php | 4 | ||||
-rw-r--r-- | user_external/tests/imap.php | 4 | ||||
-rw-r--r-- | user_external/tests/smb.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/user_external/tests/ftp.php b/user_external/tests/ftp.php index 940dfed98..839d7de7c 100644 --- a/user_external/tests/ftp.php +++ b/user_external/tests/ftp.php @@ -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')); } } diff --git a/user_external/tests/imap.php b/user_external/tests/imap.php index 8c0c8d18e..938106dd1 100644 --- a/user_external/tests/imap.php +++ b/user_external/tests/imap.php @@ -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')); } } diff --git a/user_external/tests/smb.php b/user_external/tests/smb.php index 698aa86ef..4894b99ce 100644 --- a/user_external/tests/smb.php +++ b/user_external/tests/smb.php @@ -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')); } } |