Commit graph

13 commits

Author SHA1 Message Date
C. Fuhrman
ee5ffa432b add test for Folder.create
found a bug with return new Error instead of throw new Error (!)
2024-10-03 13:17:14 -04:00
C. Fuhrman
b1d1173768 quiz tests passing 2024-10-03 12:05:20 -04:00
C. Fuhrman
f1d50315ba fix deprecated ObjectId conversion, remove extraneous refs to db and models 2024-10-02 20:23:15 -04:00
C. Fuhrman
b2144345d0 fix tests, remove debugging info 2024-10-02 14:30:53 -04:00
C. Fuhrman
45e6b80a2f fix reference to Quiz model 2024-10-02 14:09:49 -04:00
C. Fuhrman
89a5146afe order of instantiation in app.js, user needs folder model 2024-10-02 10:32:01 -04:00
C. Fuhrman
0fe07b84c6 Dependency injection of models to controllers, export controllers from app.js 2024-10-02 10:23:56 -04:00
C. Fuhrman
5815cd725a Tests for folders pass 2024-10-01 22:14:38 -04:00
C. Fuhrman
59a59710ea Users test passes and the UserController works (manual testing) 2024-10-01 18:03:55 -04:00
C. Fuhrman
a175718eec refactorings of users.js 2024-10-01 11:30:26 -04:00
C. Fuhrman
218334b4e0 Il faut créer un dossier avant de créer un premier quiz sinon il est impossible de le sauver.
Fixes #87
"Dossier par défaut" existait dans MongoDB, mais le champ userId avait un type "ObjectId" et non "String".
2024-09-23 15:20:57 -04:00
Louis-Antoine Caron
44c05371d5 test 2024-04-05 20:10:59 -04:00
louis-antoine-etsmtl
58170b378c change folder name 2024-03-29 20:15:32 -04:00