summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-10-06 10:56:39 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-10-06 10:56:39 +0200
commitd48e3de576477fd446f8e613d229deba484014bc (patch)
tree23fcebae7ff44780f97a2ab2b8c7deec4737542f
parent4bc5fe9843afbd99c79d27faa4d5c1de1aa2eb1b (diff)
downloadrpg-d48e3de576477fd446f8e613d229deba484014bc.tar.gz
rpg-d48e3de576477fd446f8e613d229deba484014bc.tar.bz2
fixed auth related tests
-rw-r--r--_test/tests/inc/auth_aclcheck.test.php2
-rw-r--r--_test/tests/inc/auth_admincheck.test.php4
-rw-r--r--_test/tests/inc/remote.test.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/_test/tests/inc/auth_aclcheck.test.php b/_test/tests/inc/auth_aclcheck.test.php
index 991f82da7..5dc0d7f60 100644
--- a/_test/tests/inc/auth_aclcheck.test.php
+++ b/_test/tests/inc/auth_aclcheck.test.php
@@ -11,7 +11,7 @@ class auth_acl_test extends DokuWikiTest {
global $auth;
$this->oldConf = $conf;
$this->oldAuthAcl = $AUTH_ACL;
- $auth = new auth_basic();
+ $auth = new DokuWiki_Auth_Plugin();
}
function teardown() {
diff --git a/_test/tests/inc/auth_admincheck.test.php b/_test/tests/inc/auth_admincheck.test.php
index d88399cbe..2fb5902d7 100644
--- a/_test/tests/inc/auth_admincheck.test.php
+++ b/_test/tests/inc/auth_admincheck.test.php
@@ -1,6 +1,6 @@
<?php
-class auth_admin_test_AuthInSensitive extends auth_basic {
+class auth_admin_test_AuthInSensitive extends DokuWiki_Auth_Plugin {
function isCaseSensitive(){
return false;
}
@@ -17,7 +17,7 @@ class auth_admin_test extends DokuWikiTest {
function setSensitive() {
global $auth;
- $auth = new auth_basic();
+ $auth = new DokuWiki_Auth_Plugin();
}
function setInSensitive() {
diff --git a/_test/tests/inc/remote.test.php b/_test/tests/inc/remote.test.php
index 49152d8db..c3d941a2c 100644
--- a/_test/tests/inc/remote.test.php
+++ b/_test/tests/inc/remote.test.php
@@ -1,6 +1,6 @@
<?php
-class MockAuth extends auth_basic {
+class MockAuth extends DokuWiki_Auth_Plugin {
function isCaseSensitive() { return true; }
}