Skip to content

Commit

Permalink
fix failing component tests (#12837)
Browse files Browse the repository at this point in the history
  • Loading branch information
weiquu authored Feb 25, 2024
1 parent b8c9968 commit a77674f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ private void testExecute_typicalSuccess1() {

// # of email to send =
// # emails sent to instructorsToNotify (ie co-owner), 1 +
// # emails sent to students, 4 +
// # emails sent to students, 5 +
// # emails sent to instructors, 3 (including instructorsToNotify)
verifySpecifiedTasksAdded(Const.TaskQueue.SEND_EMAIL_QUEUE_NAME, 8);
verifySpecifiedTasksAdded(Const.TaskQueue.SEND_EMAIL_QUEUE_NAME, 9);

List<TaskWrapper> tasksAdded = mockTaskQueuer.getTasksAdded();
for (TaskWrapper task : tasksAdded) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected void testExecute() {
JsonResult r = getJsonResult(a);

FeedbackSessionStatsData output = (FeedbackSessionStatsData) r.getOutput();
assertEquals(7, output.getExpectedTotal());
assertEquals(8, output.getExpectedTotal());
assertEquals(3, output.getSubmittedTotal());

______TS("fail: instructor accesses stats of non-existent feedback session");
Expand Down

0 comments on commit a77674f

Please sign in to comment.