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; |     let controller: AssignmentController; | ||||||
| 
 | 
 | ||||||
|     beforeEach(() => { |     beforeEach(() => { | ||||||
|         controller = new AssignmentController( 'X2J9QT'); // Example class ID (class01)
 |         controller = new AssignmentController("X2J9QT"); // Example class ID (class01)
 | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|     it("should fetch all assignments", async () => { |     it("should fetch all assignments", async () => { | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ import { GroupController } from "../../src/controllers/groups"; | ||||||
| 
 | 
 | ||||||
| describe("Test controller groups", () => { | describe("Test controller groups", () => { | ||||||
|     it("Get groups", async () => { |     it("Get groups", async () => { | ||||||
|         const classId = 'X2J9QT'; // class01
 |         const classId = "X2J9QT"; // Class01
 | ||||||
|         const assignmentNumber = 21000; |         const assignmentNumber = 21000; | ||||||
| 
 | 
 | ||||||
|         const controller = new GroupController(classId, assignmentNumber); |         const controller = new GroupController(classId, assignmentNumber); | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ import { Language } from "../../src/data-objects/language"; | ||||||
| describe("Test controller submissions", () => { | describe("Test controller submissions", () => { | ||||||
|     it("Get submission by number", async () => { |     it("Get submission by number", async () => { | ||||||
|         const hruid = "id03"; |         const hruid = "id03"; | ||||||
|         const classId = 'X2J9QT'; // class01
 |         const classId = "X2J9QT"; // Class01
 | ||||||
|         const controller = new SubmissionController(hruid); |         const controller = new SubmissionController(hruid); | ||||||
| 
 | 
 | ||||||
|         const data = await controller.getByNumber(Language.English, 1, classId, 1, 1, 1); |         const data = await controller.getByNumber(Language.English, 1, classId, 1, 1, 1); | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Gabriellvl
						Gabriellvl