Skip to content

Commit

Permalink
[#12048] Move accounts JSON for InstructorStudentListPageE2ETest (#12830
Browse files Browse the repository at this point in the history
)

* migrate accounts

* fix eof line

---------

Co-authored-by: Dominic Lim <[email protected]>
  • Loading branch information
EuniceSim142 and domlimm authored Feb 26, 2024
1 parent bac2a64 commit 21cb04a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public class InstructorStudentListPageE2ETest extends BaseE2ETestCase {
protected void prepareTestData() {
testData = loadDataBundle("/InstructorStudentListPageE2ETest.json");
removeAndRestoreDataBundle(testData);

removeAndRestoreSqlDataBundle(loadSqlDataBundle("/InstructorStudentListPageE2ETest_SqlEntities.json"));
}

@Test
Expand Down
14 changes: 0 additions & 14 deletions src/e2e/resources/data/InstructorStudentListPageE2ETest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
{
"accounts": {
"instructorOfCourse1": {
"googleId": "tm.e2e.ISList.instr1",
"name": "Instructor of Course 1",
"email": "[email protected]",
"readNotifications": {}
},
"Student3Course3": {
"googleId": "tm.e2e.ISList.charlie.tmms",
"name": "Charlie D",
"email": "[email protected]",
"readNotifications": {}
}
},
"courses": {
"course1": {
"id": "tm.e2e.ISList.course1",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"accounts": {
"instructorOfCourse1": {
"googleId": "tm.e2e.ISList.instr1",
"name": "Instructor of Course 1",
"email": "[email protected]",
"id": "00000000-0000-4000-8000-000000000001"
},
"Student3Course3": {
"googleId": "tm.e2e.ISList.charlie.tmms",
"name": "Charlie D",
"email": "[email protected]",
"id": "00000000-0000-4000-8000-000000000002"
}
}
}

0 comments on commit 21cb04a

Please sign in to comment.