Merge remote-tracking branch 'origin/fix/class-id' into fix/class-id
This commit is contained in:
		
						commit
						df92017994
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -5,7 +5,7 @@ describe("AssignmentController Tests", () => { | |||
|     let controller: AssignmentController; | ||||
| 
 | ||||
|     beforeEach(() => { | ||||
|         controller = new AssignmentController( 'X2J9QT'); // Example class ID (class01)
 | ||||
|         controller = new AssignmentController("X2J9QT"); // Example class ID (class01)
 | ||||
|     }); | ||||
| 
 | ||||
|     it("should fetch all assignments", async () => { | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ import { GroupController } from "../../src/controllers/groups"; | |||
| 
 | ||||
| describe("Test controller groups", () => { | ||||
|     it("Get groups", async () => { | ||||
|         const classId = 'X2J9QT'; // class01
 | ||||
|         const classId = "X2J9QT"; // Class01
 | ||||
|         const assignmentNumber = 21000; | ||||
| 
 | ||||
|         const controller = new GroupController(classId, assignmentNumber); | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ import { Language } from "../../src/data-objects/language"; | |||
| describe("Test controller submissions", () => { | ||||
|     it("Get submission by number", async () => { | ||||
|         const hruid = "id03"; | ||||
|         const classId = 'X2J9QT'; // class01
 | ||||
|         const classId = "X2J9QT"; // Class01
 | ||||
|         const controller = new SubmissionController(hruid); | ||||
| 
 | ||||
|         const data = await controller.getByNumber(Language.English, 1, classId, 1, 1, 1); | ||||
|  |  | |||
		Reference in a new issue
	
	 Gabriellvl
						Gabriellvl