summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
Diffstat (limited to '_test')
-rw-r--r--_test/bootstrap.php1
-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
4 files changed, 5 insertions, 4 deletions
diff --git a/_test/bootstrap.php b/_test/bootstrap.php
index 310b3627a..732fef9ed 100644
--- a/_test/bootstrap.php
+++ b/_test/bootstrap.php
@@ -27,6 +27,7 @@ define('DOKU_TMP_DATA', TMP_DIR.'/data/');
// default plugins
$default_plugins = array(
+ 'authplain',
'acl',
'config',
'info',
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; }
}