summaryrefslogtreecommitdiff
path: root/_test/tests/inc/auth_aclcheck_caseinsensitive.test.php
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2012-11-29 14:59:46 +0100
committerDominik Eckelmann <deckelmann@gmail.com>2012-11-29 14:59:46 +0100
commitff576d9309a9a8c229caea79f2f8509cc986eee4 (patch)
treeca1f6174af12d0e3cac894df10bcf5d35af35eba /_test/tests/inc/auth_aclcheck_caseinsensitive.test.php
parent3f6c460c29cccb4fdbbbbd14afbdd29916947221 (diff)
downloadrpg-ff576d9309a9a8c229caea79f2f8509cc986eee4.tar.gz
rpg-ff576d9309a9a8c229caea79f2f8509cc986eee4.tar.bz2
use correct setUp method and parent calls.
Diffstat (limited to '_test/tests/inc/auth_aclcheck_caseinsensitive.test.php')
-rw-r--r--_test/tests/inc/auth_aclcheck_caseinsensitive.test.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/_test/tests/inc/auth_aclcheck_caseinsensitive.test.php b/_test/tests/inc/auth_aclcheck_caseinsensitive.test.php
index 9f1fb6aa0..2f4821c2d 100644
--- a/_test/tests/inc/auth_aclcheck_caseinsensitive.test.php
+++ b/_test/tests/inc/auth_aclcheck_caseinsensitive.test.php
@@ -7,28 +7,25 @@ class auth_acl_caseinsensitive_auth extends auth_basic {
}
class auth_acl_caseinsensitive_test extends DokuWikiTest {
- protected $oldConf;
protected $oldAuth;
protected $oldAuthAcl;
- function setup() {
- global $conf;
+ function setUp() {
+ parent::setUp();
global $auth;
global $AUTH_ACL;
- $this->oldConf = $conf;
$this->oldAuth = $auth;
$this->oldAuthAcl = $AUTH_ACL;
$auth = new auth_acl_caseinsensitive_auth();
}
- function teardown() {
+ function tearDown() {
global $conf;
global $AUTH_ACL;
global $auth;
- $conf = $this->oldConf;
$auth = $this->oldAuth;
$AUTH_ACL = $this->oldAuthAcl;
}