Fix Pint formatting
This commit is contained in:
+20
-10
@@ -2,7 +2,17 @@
|
||||
|
||||
namespace Tests\Unit\Services\AttendanceTracking;
|
||||
|
||||
use App\Models\AttendanceData;
|
||||
use App\Models\AttendanceTracking;
|
||||
use App\Models\Configuration;
|
||||
use App\Models\Student;
|
||||
use App\Models\StudentClass;
|
||||
use App\Services\AttendanceTracking\AttendanceEmailComposerService;
|
||||
use App\Services\AttendanceTracking\AttendanceMailerService;
|
||||
use App\Services\AttendanceTracking\AttendanceNotificationLogService;
|
||||
use App\Services\AttendanceTracking\AttendanceNotificationWorkflowService;
|
||||
use App\Services\AttendanceTracking\AttendanceParentLookupService;
|
||||
use App\Services\AttendanceTracking\ViolationRuleEngineService;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Mockery;
|
||||
@@ -27,20 +37,20 @@ class AttendanceNotificationWorkflowServiceTest extends TestCase
|
||||
'school_year' => '2025-2026',
|
||||
]);
|
||||
|
||||
$parentLookup = Mockery::mock(\App\Services\AttendanceTracking\AttendanceParentLookupService::class);
|
||||
$parentLookup = Mockery::mock(AttendanceParentLookupService::class);
|
||||
$parentLookup->shouldReceive('getPrimaryParentForStudent')->once()->andReturn([]);
|
||||
|
||||
$service = new AttendanceNotificationWorkflowService(
|
||||
new \App\Models\Student(),
|
||||
new \App\Models\StudentClass(),
|
||||
new \App\Models\AttendanceData(),
|
||||
new \App\Models\AttendanceTracking(),
|
||||
new \App\Models\Configuration(),
|
||||
Mockery::mock(\App\Services\AttendanceTracking\AttendanceMailerService::class),
|
||||
Mockery::mock(\App\Services\AttendanceTracking\ViolationRuleEngineService::class),
|
||||
new Student,
|
||||
new StudentClass,
|
||||
new AttendanceData,
|
||||
new AttendanceTracking,
|
||||
new Configuration,
|
||||
Mockery::mock(AttendanceMailerService::class),
|
||||
Mockery::mock(ViolationRuleEngineService::class),
|
||||
$parentLookup,
|
||||
Mockery::mock(\App\Services\AttendanceTracking\AttendanceEmailComposerService::class),
|
||||
Mockery::mock(\App\Services\AttendanceTracking\AttendanceNotificationLogService::class)
|
||||
Mockery::mock(AttendanceEmailComposerService::class),
|
||||
Mockery::mock(AttendanceNotificationLogService::class)
|
||||
);
|
||||
|
||||
$result = $service->record([
|
||||
|
||||
Reference in New Issue
Block a user