aboutsummaryrefslogtreecommitdiff
path: root/src/mock.ts
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-09-14 17:34:14 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-09-14 17:35:34 +0200
commit9876d989b52528574861ef44409a5b680e542340 (patch)
tree763f0517114edbee346bf49b4f4e640b99d2cc21 /src/mock.ts
parentd18d5f869d57d31c987b4b7fe0c7feae9aba8b2e (diff)
downloadbycs-sol-9876d989b52528574861ef44409a5b680e542340.tar.gz
bycs-sol-9876d989b52528574861ef44409a5b680e542340.zip
remove groups
Diffstat (limited to 'src/mock.ts')
-rw-r--r--src/mock.ts11
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;
}