aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cron
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-01-13 00:07:40 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2011-02-12 22:05:54 -0500
commit7a8233020bdeb872dad6057b7799c43c1543aba4 (patch)
treefb9027ef217adf0a931e14df3860d24173df11fa /tests/cron
parent9bc62056b27a54cccc4e626350838113a3ba80db (diff)
downloadforums-7a8233020bdeb872dad6057b7799c43c1543aba4.tar
forums-7a8233020bdeb872dad6057b7799c43c1543aba4.tar.gz
forums-7a8233020bdeb872dad6057b7799c43c1543aba4.tar.bz2
forums-7a8233020bdeb872dad6057b7799c43c1543aba4.tar.xz
forums-7a8233020bdeb872dad6057b7799c43c1543aba4.zip
[feature/system-cron] Use a RecursiveDirectoryIterator instead of readdir.
PHPBB3-9596
Diffstat (limited to 'tests/cron')
-rw-r--r--tests/cron/manager_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cron/manager_test.php b/tests/cron/manager_test.php
index dcb3c6435a..39e052bd57 100644
--- a/tests/cron/manager_test.php
+++ b/tests/cron/manager_test.php
@@ -11,7 +11,7 @@ class phpbb_cron_manager_test extends PHPUnit_Framework_TestCase
{
public function setUp()
{
- $this->manager = new phpbb_cron_manager();
+ $this->manager = new phpbb_cron_manager(__DIR__ . '/../../phpBB/', 'php');
}
public function test_manager_finds_shipped_tasks()