refactor: verander getters frontend naar hardcoded

This commit is contained in:
Gabriellvl 2025-05-04 14:16:20 +02:00
parent ac4ece29c7
commit 16a11d4268
3 changed files with 3 additions and 6 deletions

View file

@ -1,10 +1,9 @@
import { describe, expect, it } from "vitest";
import { GroupController } from "../../src/controllers/groups";
import {getClass01} from "@dwengo-1/backend/tests/test_assets/classes/classes.testdata";
describe("Test controller groups", () => {
it("Get groups", async () => {
const classId = getClass01().classId;
const classId = 'X2J9QT'; // class01
const assignmentNumber = 21000;
const controller = new GroupController(classId, assignmentNumber);