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,9 @@
namespace Tests\Unit\Services\AttendanceTracking;
use App\Models\AttendanceData;
use App\Models\Student;
use App\Models\StudentClass;
use App\Services\AttendanceTracking\AttendanceViolationStudentResolverService;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\DB;
@@ -34,9 +37,9 @@ class AttendanceViolationStudentResolverServiceTest extends TestCase
]);
$service = new AttendanceViolationStudentResolverService(
new \App\Models\Student(),
new \App\Models\StudentClass(),
new \App\Models\AttendanceData()
new Student,
new StudentClass,
new AttendanceData
);
$result = $service->resolveForSchoolYear('2025-2026', 'Fall');