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,7 +2,6 @@
namespace Tests\Unit\Services\Parents;
use App\Models\User;
use App\Services\Parents\ParentAttendanceService;
use App\Services\Parents\ParentConfigService;
use Illuminate\Foundation\Testing\RefreshDatabase;
@@ -64,7 +63,7 @@ class ParentAttendanceServiceTest extends TestCase
'school_year' => '2025-2026',
]);
$service = new ParentAttendanceService(new ParentConfigService());
$service = new ParentAttendanceService(new ParentConfigService);
$result = $service->listAttendance($parentId, '2025-2026');
$this->assertSame('2025-2026', $result['selectedYear']);