Эх сурвалжийг харах

小组临时工分布 测试案例

ANG YU 5 жил өмнө
parent
commit
8e61c25e9e

+ 0 - 2
tests/Services/LaborReportsCountingRecordService/ByCacheTest.php

@@ -2,9 +2,7 @@
 
 namespace LaborReportsCountingRecordService;
 
-use App\Services\CacheService;
 use App\Services\LaborReportsCountingRecordService;
-use App\Services\OrderCountingRecordService;
 use Illuminate\Support\Facades\Cache;
 use Tests\TestCase;
 

+ 2 - 2
tests/Services/LaborReportsCountingRecordService/UserGroupsCountTest.php

@@ -21,7 +21,7 @@ class UserGroupsCountTest extends TestCase
 
     public function testUserGroupsCount()
     {
-        $result =  $this->laborReportsCountingRecordService->userGroupsCount('2020-10-17','2020-11-16')->toArray();
-        dd($result);
+        $result =  $this->laborReportsCountingRecordService->userGroupsCount('2020-10-17','2020-11-16');
+        self::assertTrue($result->isNotEmpty());
     }
 }