summaryrefslogtreecommitdiff
path: root/_test/tests/inc/auth_aclcheck.test.php
diff options
context:
space:
mode:
Diffstat (limited to '_test/tests/inc/auth_aclcheck.test.php')
-rw-r--r--_test/tests/inc/auth_aclcheck.test.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/_test/tests/inc/auth_aclcheck.test.php b/_test/tests/inc/auth_aclcheck.test.php
index 991f82da7..8e5a04ff5 100644
--- a/_test/tests/inc/auth_aclcheck.test.php
+++ b/_test/tests/inc/auth_aclcheck.test.php
@@ -2,22 +2,18 @@
class auth_acl_test extends DokuWikiTest {
- var $oldConf;
var $oldAuthAcl;
- function setup() {
- global $conf;
+ function setUp() {
+ parent::setUp();
global $AUTH_ACL;
global $auth;
- $this->oldConf = $conf;
$this->oldAuthAcl = $AUTH_ACL;
$auth = new auth_basic();
}
- function teardown() {
- global $conf;
+ function tearDown() {
global $AUTH_ACL;
- $conf = $this->oldConf;
$AUTH_ACL = $this->oldAuthAcl;
}