diff --git a/utility/db/testData.js b/utility/db/testData.js index 9628c15..4f6507c 100644 --- a/utility/db/testData.js +++ b/utility/db/testData.js @@ -34,6 +34,9 @@ const details = { }, accountClassLink: { link: true + }, + testResult: { + id: 'uuid' } }; @@ -460,6 +463,98 @@ const data = { classId: 4, } }, + ], + testResult: [ + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 1, + testId: 2, + accountId: 1 + } + }, + { + mark: 70, + time: new MySQLDate(), + lookups: { + studentId: 2, + testId: 2, + accountId: 1 + } + }, + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 1, + testId: 5, + accountId: 1 + } + }, + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 2, + testId: 5, + accountId: 1 + } + }, + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 3, + testId: 5, + accountId: 1 + } + }, + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 4, + testId: 5, + accountId: 1 + } + }, + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 5, + testId: 5, + accountId: 1 + } + }, + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 3, + testId: 8, + accountId: 3 + } + }, + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 2, + testId: 8, + accountId: 3 + } + }, + { + mark: 50, + time: new MySQLDate(), + lookups: { + studentId: 1, + testId: 8, + accountId: 3 + } + }, ] };