diff --git a/src/e2e/java/teammates/e2e/cases/AdminSessionsPageE2ETest.java b/src/e2e/java/teammates/e2e/cases/AdminSessionsPageE2ETest.java index 1228ec5fa1c..72b4e23796f 100644 --- a/src/e2e/java/teammates/e2e/cases/AdminSessionsPageE2ETest.java +++ b/src/e2e/java/teammates/e2e/cases/AdminSessionsPageE2ETest.java @@ -64,6 +64,8 @@ protected void prepareTestData() { futureFeedbackSession.setResultsVisibleFromTime(instant24DaysLater); removeAndRestoreDataBundle(testData); + + sqlTestData = removeAndRestoreSqlDataBundle(loadSqlDataBundle("/AdminSessionsPageE2ETest_SqlEntities.json")); } @Test diff --git a/src/e2e/resources/data/AdminSessionsPageE2ETest.json b/src/e2e/resources/data/AdminSessionsPageE2ETest.json index b4cda4f6bd4..d9926ff430a 100644 --- a/src/e2e/resources/data/AdminSessionsPageE2ETest.json +++ b/src/e2e/resources/data/AdminSessionsPageE2ETest.json @@ -1,12 +1,4 @@ { - "accounts": { - "instructor1OfCourse1": { - "googleId": "tm.e2e.ASess.instr1", - "name": "Instructor1 of Course1", - "email": "ASess.instructor1@gmail.tmt", - "readNotifications": {} - } - }, "courses": { "typicalCourse1": { "id": "tm.e2e.ASess.idOfTypicalCourse1", diff --git a/src/e2e/resources/data/AdminSessionsPageE2ETest_SqlEntities.json b/src/e2e/resources/data/AdminSessionsPageE2ETest_SqlEntities.json new file mode 100644 index 00000000000..15149dc6c58 --- /dev/null +++ b/src/e2e/resources/data/AdminSessionsPageE2ETest_SqlEntities.json @@ -0,0 +1,10 @@ +{ + "accounts": { + "instructor1OfCourse1": { + "googleId": "tm.e2e.ASess.instr1", + "name": "Instructor1 of Course1", + "email": "ASess.instructor1@gmail.tmt", + "readNotifications": {} + } + } +}