1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[feature/extension-manager] Extract extension provider functionality from cron

PHPBB3-10323
This commit is contained in:
Nils Adermann
2011-08-30 00:06:15 -04:00
parent 7d16007d6a
commit 6c6a7d7992
3 changed files with 70 additions and 49 deletions

View File

@@ -27,10 +27,8 @@ class phpbb_cron_provider_test extends PHPUnit_Framework_TestCase
public function test_manager_finds_shipped_tasks()
{
$task_iterator = $this->provider->find_cron_task_names();
$tasks = array();
foreach ($task_iterator as $task)
foreach ($this->provider as $task)
{
$tasks[] = $task;
}