mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-18 07:03:12 -04:00
no output from run() during unit testing
This commit is contained in:
@@ -71,7 +71,9 @@ class SchedulerTest extends TestCase {
|
||||
* @dataProvider taskProvider
|
||||
*/
|
||||
public function testTask(string $taskName): void {
|
||||
ob_start();
|
||||
$this->assertIsInt($this->scheduler->runClass($taskName), "sched-task-$taskName");
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
public static function taskProvider(): array {
|
||||
|
||||
Reference in New Issue
Block a user