-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update giver and last editor to User entity and update failing ITs an…
…d test data (partial)
- Loading branch information
Showing
17 changed files
with
402 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,10 +198,11 @@ public void testCreateDataBundle_typicalValues_createdCorrectly() throws Excepti | |
|
||
______TS("verify feedback response comments deserialized correctly"); | ||
FeedbackResponseComment actualComment1 = dataBundle.feedbackResponseComments.get("comment1ToResponse1ForQ1"); | ||
FeedbackResponseComment expectedComment1 = new FeedbackResponseComment(expectedResponse1, "[email protected]", | ||
Instructor expectedInstructor = dataBundle.instructors.get("instructor1OfTypicalCourse"); | ||
FeedbackResponseComment expectedComment1 = new FeedbackResponseComment(expectedResponse1, expectedInstructor, | ||
FeedbackParticipantType.INSTRUCTORS, expectedSection, expectedSection, | ||
"Instructor 1 comment to student 1 self feedback", false, false, | ||
new ArrayList<FeedbackParticipantType>(), new ArrayList<FeedbackParticipantType>(), "[email protected]"); | ||
new ArrayList<FeedbackParticipantType>(), new ArrayList<FeedbackParticipantType>(), expectedInstructor); | ||
expectedComment1.setId(actualComment1.getId()); | ||
verifyEquals(expectedComment1, actualComment1); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -324,7 +324,11 @@ | |
"answer": "Student 1 self feedback." | ||
} | ||
}, | ||
"giver": "[email protected]", | ||
"giver": { | ||
"id": "00000000-0000-4000-8000-000000000501", | ||
"type": "instructor", | ||
"email": "[email protected]" | ||
}, | ||
"giverType": "INSTRUCTORS", | ||
"giverSection": { | ||
"id": "00000000-0000-4000-8000-000000000201" | ||
|
@@ -337,7 +341,11 @@ | |
"isCommentFromFeedbackParticipant": false, | ||
"showCommentTo": [], | ||
"showGiverNameTo": [], | ||
"lastEditorEmail": "[email protected]" | ||
"lastEditor": { | ||
"id": "00000000-0000-4000-8000-000000000501", | ||
"type": "instructor", | ||
"email": "[email protected]" | ||
} | ||
} | ||
}, | ||
"notifications": { | ||
|
Oops, something went wrong.