Files
FOSSBilling/tests/integration/bb-modules/mod_cron/Api_AdminTest.php
T
2020-08-18 21:12:03 +02:00

17 lines
344 B
PHP

<?php
/**
* @group Core
*/
class Api_AdminTest extends BBDbApiTestCase
{
protected $_initialSeedFile = 'orders.xml';
public function testRun()
{
$array = $this->api_system->cron_info();
$this->assertIsArray($array);
$bool = $this->api_system->cron_run();
$this->assertTrue($bool);
}
}