mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[Filters][Grade] Fix test
This commit is contained in:
committed by
Aaro Koivukangas
parent
f0d802df83
commit
172d4df46d
@@ -68,7 +68,7 @@ void describe('gradeFilter', () => {
|
||||
|
||||
void it('should handle string-dates properly', () => {
|
||||
// @ts-expect-error: FIXME: Courses have date incorrectly types as Date, not string
|
||||
const student = createStudent({ courses: [createCourse({ course_code: 'TKT002', date: '2024-09-01' })] })
|
||||
const student = createStudent({ courses: [createCourse({ course_id: 'hy-CU-TKT002', date: '2024-09-01' })] })
|
||||
|
||||
const precomputed = gradeFilter().precompute!({
|
||||
students: [student],
|
||||
|
||||
Reference in New Issue
Block a user