diff options
Diffstat (limited to 'src/mock.ts')
| -rw-r--r-- | src/mock.ts | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mock.ts b/src/mock.ts index 3ffcc53..125c73f 100644 --- a/src/mock.ts +++ b/src/mock.ts @@ -1,17 +1,12 @@ import { Graduation, GraduationChange } from "./graduation-common.ts"; import { Student } from "./student-common.ts"; -import { buildGroups } from "./group.ts"; const students = [ - new Student(1, "foo bar", "test"), - new Student(2, "maxi mustermensch", "test"), - new Student(3, "b b b", "5a"), + new Student(1, "foo bar"), + new Student(2, "maxi mustermensch"), ]; -// Build the groups from our mock students -buildGroups(students); - -async function fetchStudentsMock(_id?: number, _name?: string, _group?: string) { +async function fetchStudentsMock(_id?: number, _name?: string) { return students; } |
