fix tests
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user