The grade never reaches the gradebook
The tool sends a score to the LMS with an access token it cached earlier. The token has expired, the LMS answers 401, and the tool logs a warning and marks the grade as synced. The student sees 8/10 in the app. The gradebook cell stays empty.
LTI Advantage, Assignment and Grade Serviceslms.failNext('scores', 401) // expired token await student.finishQuiz({ score: 8, max: 10 }) await lms.clock.advance('10m') expect(lms.gradebook(student.id, lineItem)).toBe(8) // got empty expect(tool.outbox.pending()).toBe(0)