fix gitlab tests
This commit is contained in:
@@ -2,12 +2,7 @@
|
||||
|
||||
namespace Tests\Unit\Services\AttendanceTracking;
|
||||
|
||||
use App\Models\AttendanceData;
|
||||
use App\Models\AttendanceTracking;
|
||||
use App\Models\Student;
|
||||
use App\Services\AttendanceTracking\AttendanceCaseQueryService;
|
||||
use App\Services\AttendanceTracking\AttendanceParentLookupService;
|
||||
use App\Services\AttendanceTracking\ViolationRuleEngineService;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Mockery;
|
||||
use Tests\TestCase;
|
||||
@@ -19,11 +14,11 @@ class AttendanceCaseQueryServiceTest extends TestCase
|
||||
public function test_returns_not_found_when_student_missing(): void
|
||||
{
|
||||
$service = new AttendanceCaseQueryService(
|
||||
new Student,
|
||||
new AttendanceData,
|
||||
new AttendanceTracking,
|
||||
Mockery::mock(ViolationRuleEngineService::class),
|
||||
Mockery::mock(AttendanceParentLookupService::class)
|
||||
new \App\Models\Student(),
|
||||
new \App\Models\AttendanceData(),
|
||||
new \App\Models\AttendanceTracking(),
|
||||
Mockery::mock(\App\Services\AttendanceTracking\ViolationRuleEngineService::class),
|
||||
Mockery::mock(\App\Services\AttendanceTracking\AttendanceParentLookupService::class)
|
||||
);
|
||||
|
||||
$result = $service->getStudentCase(999);
|
||||
|
||||
Reference in New Issue
Block a user