| 12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace Tests\Services\OrderCountingRecordService;
- use App\Services\CacheService;
- use App\Services\OrderCountingRecordService;
- use Tests\TestCase;
- class OrderCountingRecordServiceOrderCountingRecordsTest extends TestCase
- {
- /** @var OrderCountingRecordService $orderCountingRecordService */
- public $orderCountingRecordService;
- public function setUp(): void
- {
- parent::setUp();
- app()->singleton('CacheService', CacheService::class);
- $this->orderCountingRecordService = app(OrderCountingRecordService::class);
- }
- public function testGet()
- {
- $start = '2020-11-03';
- $end = '2020-11-09';
- dd($this->orderCountingRecordService->orderCountingRecords($start, $end, null));
- }
- }
|