This commit is contained in:
邓皓元 2018-11-28 15:48:35 +08:00
parent 337599bcd9
commit b0bcad53d6

View File

@ -6,15 +6,15 @@ use Illuminate\Support\Facades\Artisan;
require_once realpath(dirname(__FILE__) . '/TestCase.php'); require_once realpath(dirname(__FILE__) . '/TestCase.php');
Artisan::queue('sync:company'); Artisan::queue('real:sync-company');
Artisan::queue('sync:bloc'); Artisan::queue('real:sync-bloc');
Artisan::queue('sync:package'); Artisan::queue('real:sync-package');
$datetime = Carbon::parse('2017-04-01'); $datetime = Carbon::parse('2017-04-01');
call('sync:order'); call('real:sync-order');
call('sync:activate'); call('real:sync-activate');
call('sync:custom-order'); call('real:sync-custom-order');
function call($command) function call($command)
{ {