-
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.
) * shift accounts json * revert formatting changes * Update src/e2e/resources/data/AutomatedSessionRemindersE2ETest_SqlEntities.json Co-authored-by: EuniceSim142 <[email protected]> * change testData to sqlTestData --------- Co-authored-by: EuniceSim142 <[email protected]>
1 parent
500e742
commit e9cdd63
Showing
3 changed files
with
13 additions
and
9 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 |
---|---|---|
|
@@ -26,7 +26,6 @@ protected void prepareTestData() { | |
// TODO check if we can automate this checking process | ||
|
||
String student1Email = TestProperties.TEST_EMAIL; | ||
testData.accounts.get("instructorWithEvals").setEmail(student1Email); | ||
testData.instructors.get("AutSesRem.instructor").setEmail(student1Email); | ||
testData.students.get("[email protected]").setEmail(student1Email); | ||
testData.feedbackSessions.get("closedSession").setCreatorEmail(student1Email); | ||
|
@@ -49,6 +48,9 @@ protected void prepareTestData() { | |
// Published time for one feedback session already set to some time in the past. | ||
|
||
removeAndRestoreDataBundle(testData); | ||
|
||
sqlTestData = removeAndRestoreSqlDataBundle(loadSqlDataBundle("/AutomatedSessionRemindersE2ETest_SqlEntities.json")); | ||
sqlTestData.accounts.get("instructorWithEvals").setEmail(student1Email); | ||
} | ||
|
||
@Override | ||
|
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 |
---|---|---|
@@ -1,12 +1,4 @@ | ||
{ | ||
"accounts": { | ||
"instructorWithEvals": { | ||
"googleId": "tm.e2e.AutSesRem.instructor", | ||
"name": "Test Ins for Aut Sessions Reminder", | ||
"email": "[email protected]", | ||
"readNotifications": {} | ||
} | ||
}, | ||
"courses": { | ||
"course": { | ||
"id": "tm.e2e.AutSesRem.course", | ||
|
10 changes: 10 additions & 0 deletions
10
src/e2e/resources/data/AutomatedSessionRemindersE2ETest_SqlEntities.json
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"accounts": { | ||
"instructorWithEvals": { | ||
"id": "00000000-0000-4000-8000-000000000001", | ||
"googleId": "tm.e2e.AutSesRem.instructor", | ||
"name": "Test Ins for Aut Sessions Reminder", | ||
"email": "[email protected]", | ||
} | ||
} | ||
} |