summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/wizard.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/tests/wizard.php')
-rw-r--r--apps/user_ldap/tests/wizard.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/tests/wizard.php b/apps/user_ldap/tests/wizard.php
index 1f420f9ee8a..7284e466536 100644
--- a/apps/user_ldap/tests/wizard.php
+++ b/apps/user_ldap/tests/wizard.php
@@ -29,8 +29,9 @@ use \OCA\user_ldap\lib\Wizard;
// use \OCA\user_ldap\lib\Configuration;
// use \OCA\user_ldap\lib\ILDAPWrapper;
-class Test_Wizard extends \PHPUnit_Framework_TestCase {
- public function setUp() {
+class Test_Wizard extends \Test\TestCase {
+ protected function setUp() {
+ parent::setUp();
//we need to make sure the consts are defined, otherwise tests will fail
//on systems without php5_ldap
$ldapConsts = array('LDAP_OPT_PROTOCOL_VERSION',