mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 16:19:26 +00:00
Added test test data
This commit is contained in:
@@ -41,6 +41,9 @@ const tableDetails = {
|
||||
testTemplate: {
|
||||
id: 'uuid'
|
||||
},
|
||||
test: {
|
||||
id: 'uuid'
|
||||
},
|
||||
studentParentLink: {
|
||||
link: true
|
||||
},
|
||||
@@ -221,6 +224,92 @@ const data = {
|
||||
}
|
||||
}
|
||||
],
|
||||
test: [
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(-1),
|
||||
lookups: {
|
||||
classId: 1,
|
||||
testTemplateId: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(1),
|
||||
lookups: {
|
||||
classId: 2,
|
||||
testTemplateId: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(30),
|
||||
lookups: {
|
||||
classId: 4,
|
||||
testTemplateId: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(-10),
|
||||
lookups: {
|
||||
classId: 1,
|
||||
testTemplateId: 4
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(-100),
|
||||
lookups: {
|
||||
classId: 1,
|
||||
testTemplateId: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(50),
|
||||
lookups: {
|
||||
classId: 4,
|
||||
testTemplateId: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(10),
|
||||
lookups: {
|
||||
classId: 4,
|
||||
testTemplateId: 3
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(-15),
|
||||
lookups: {
|
||||
classId: 3,
|
||||
testTemplateId: 3
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(-108),
|
||||
lookups: {
|
||||
classId: 3,
|
||||
testTemplateId: 3
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(-4),
|
||||
lookups: {
|
||||
classId: 2,
|
||||
testTemplateId: 4
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(-8),
|
||||
lookups: {
|
||||
classId: 3,
|
||||
testTemplateId: 4
|
||||
}
|
||||
},
|
||||
{
|
||||
testDate: new mySQLDate().alterDays(1),
|
||||
lookups: {
|
||||
classId: 3,
|
||||
testTemplateId: 4
|
||||
}
|
||||
},
|
||||
],
|
||||
studentParentLink: [
|
||||
{
|
||||
lookups: {
|
||||
|
||||
Reference in New Issue
Block a user