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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user