<?php


use App\Models\BusinessGoodsSku;
use App\Models\BusinessOrderItem;
use App\Models\GoodsSku;
use App\Services\Business\BusinessFactory;
use App\Utils\DateTimeUtils;
use Illuminate\Support\Facades\Log;
use Tests\TestCase;

class BusinessOrderUpdateTest extends TestCase
{
    use \Illuminate\Foundation\Testing\RefreshDatabase;

    /**
     * A basic test example.
     *
     * @return void
     */
    public function testBasicTest()
    {
//        $shop = new \App\Models\Shop();
//        $shop->id = 19;
//        $shop->plat_id = 1;
//        $shop->name = "test";
//        $shop->access_token = "7e00e77428cf45348cb1ca190dc769670377bd0c";
//        $endTime = DateTimeUtils::getMicroTime();
//        $beginTime = $endTime - 2*60*60*1000;
//        BusinessFactory::init()->make("快团团")->setShop($shop)->downloadOrdersAndSave($beginTime, $endTime);

    }
}
