fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -2,6 +2,11 @@
namespace Tests\Unit\Services\Attendance;
use App\Models\ClassSection;
use App\Models\Configuration;
use App\Models\StaffAttendance;
use App\Models\TeacherClass;
use App\Services\Attendance\SemesterRangeService;
use App\Services\Attendance\StaffAttendanceService;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\DB;
@@ -75,11 +80,11 @@ class StaffAttendanceServiceTest extends TestCase
]);
$service = new StaffAttendanceService(
new \App\Models\Configuration(),
new \App\Models\StaffAttendance(),
new \App\Models\TeacherClass(),
new \App\Models\ClassSection(),
new \App\Services\Attendance\SemesterRangeService()
new Configuration,
new StaffAttendance,
new TeacherClass,
new ClassSection,
new SemesterRangeService
);
$payload = $service->monthData('Fall', '2025-2026');