Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
FergusMok committed Mar 18, 2022
1 parent fc66c3c commit e44a458
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/main/java/teammates/common/util/Const.java
Original file line number Diff line number Diff line change
Expand Up @@ -264,18 +264,18 @@ public static class WebPageURIs {
public static final String INSTRUCTOR_SESSIONS_PAGE = INSTRUCTOR_PAGE + "/sessions";
public static final String INSTRUCTOR_SESSION_SUBMISSION_PAGE = INSTRUCTOR_PAGE + "/sessions/submission";
public static final String INSTRUCTOR_SESSION_EDIT_PAGE = INSTRUCTOR_PAGE + "/sessions/edit";
public static final String INSTRUCTOR_SESSION_INDIVIDUAL_EXTENSION_PAGE = INSTRUCTOR_PAGE
+ "/sessions/individual-extension";
public static final String INSTRUCTOR_SESSION_INDIVIDUAL_EXTENSION_PAGE = INSTRUCTOR_PAGE
+ "/sessions/individual-extension";
public static final String INSTRUCTOR_SESSION_RESULTS_PAGE = INSTRUCTOR_PAGE + "/sessions/result";
public static final String INSTRUCTOR_SESSION_REPORT_PAGE = INSTRUCTOR_PAGE + "/sessions/report";
public static final String INSTRUCTOR_COURSES_PAGE = INSTRUCTOR_PAGE + "/courses";
public static final String INSTRUCTOR_COURSE_DETAILS_PAGE = INSTRUCTOR_PAGE + "/courses/details";
public static final String INSTRUCTOR_COURSE_EDIT_PAGE = INSTRUCTOR_PAGE + "/courses/edit";
public static final String INSTRUCTOR_COURSE_ENROLL_PAGE = INSTRUCTOR_PAGE + "/courses/enroll";
public static final String INSTRUCTOR_COURSE_STUDENT_DETAILS_PAGE = INSTRUCTOR_PAGE
+ "/courses/student/details";
public static final String INSTRUCTOR_COURSE_STUDENT_DETAILS_EDIT_PAGE = INSTRUCTOR_PAGE
+ "/courses/student/edit";
public static final String INSTRUCTOR_COURSE_STUDENT_DETAILS_PAGE = INSTRUCTOR_PAGE
+ "/courses/student/details";
public static final String INSTRUCTOR_COURSE_STUDENT_DETAILS_EDIT_PAGE = INSTRUCTOR_PAGE
+ "/courses/student/edit";
public static final String INSTRUCTOR_STUDENT_LIST_PAGE = INSTRUCTOR_PAGE + "/students";
public static final String INSTRUCTOR_STUDENT_RECORDS_PAGE = INSTRUCTOR_PAGE + "/students/records";
public static final String INSTRUCTOR_AUDIT_LOGS_PAGE = INSTRUCTOR_PAGE + "/logs";
Expand Down Expand Up @@ -390,8 +390,8 @@ public static class TaskQueue {
URI_PREFIX + "/feedbackSessionResendPublishedEmail";

public static final String FEEDBACK_SESSION_REMIND_EMAIL_QUEUE_NAME = "feedback-session-remind-email-queue";
public static final String FEEDBACK_SESSION_REMIND_EMAIL_WORKER_URL = URI_PREFIX
+ "/feedbackSessionRemindEmail";
public static final String FEEDBACK_SESSION_REMIND_EMAIL_WORKER_URL = URI_PREFIX
+ "/feedbackSessionRemindEmail";

public static final String FEEDBACK_SESSION_REMIND_PARTICULAR_USERS_EMAIL_QUEUE_NAME =
"feedback-session-remind-particular-users-email-queue";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1>Students</h1>
<td>{{ student.teamName }}</td>
<td>{{ student.name }}</td>
<td>{{ student.email }}</td>
<td>{{ student.extensionDeadline | date:'d MMM yyyy hh:mm' }}</td>
<td>{{ timezoneService.formatToString(student.extensionDeadline, feedbackSessionTimeZone, DATETIME_FORMAT }}</td>
</tr>
</table>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ describe('IndividualExtensionConfirmModalComponent', () => {
fixture = TestBed.createComponent(IndividualExtensionConfirmModalComponent);
timeZoneService = TestBed.inject(TimezoneService);
jest.spyOn(timeZoneService, 'formatToString').mockReturnValue(testTimeString);
component.feedbackSessionTimeZone = 'Asia/Singapore';
component = fixture.componentInstance;
fixture.detectChanges();
});
Expand Down

0 comments on commit e44a458

Please sign in to comment.