diff options
author | Tobias Sarnowski <tobias@trustedco.de> | 2012-04-16 13:35:21 +0000 |
---|---|---|
committer | Tobias Sarnowski <tobias@trustedco.de> | 2012-04-16 13:35:21 +0000 |
commit | 9a5e1c6a185496cf9afa30ddc6b2b4c00cfd62cc (patch) | |
tree | 3ea5d5f36911e63b1ccabb6ad4fde0c113034680 /_testing/integrationtests/basic/hooks.test.php | |
parent | 561684d896adf0e59938acc1a03903059c2d63a0 (diff) | |
download | rpg-9a5e1c6a185496cf9afa30ddc6b2b4c00cfd62cc.tar.gz rpg-9a5e1c6a185496cf9afa30ddc6b2b4c00cfd62cc.tar.bz2 |
fixed configuration loading and datadir misdirection
Diffstat (limited to '_testing/integrationtests/basic/hooks.test.php')
-rw-r--r-- | _testing/integrationtests/basic/hooks.test.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/_testing/integrationtests/basic/hooks.test.php b/_testing/integrationtests/basic/hooks.test.php deleted file mode 100644 index 0ba389659..000000000 --- a/_testing/integrationtests/basic/hooks.test.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -class HooksTest extends PHPUnit_Framework_TestCase { - - var $hookTriggered = false; - - function hookTriggered() { - $this->hookTriggered = true; - } - - function testHookTriggering() { - global $EVENT_HANDLER; - $EVENT_HANDLER->register_hook('TPL_CONTENT_DISPLAY', 'AFTER', $this, 'hookTriggered'); - - $request = new TestRequest(); - $request->execute(); - - $this->assertTrue($this->hookTriggered, 'Hook was not triggered as expected!'); - } -} |