1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:59:28 +00:00

Changed a test date to fall on today and fixed bug caused by sql styling

This commit is contained in:
2022-02-25 16:46:41 +00:00
parent 32c83cd308
commit 0ad2741884

View File

@@ -226,7 +226,7 @@ const data = {
],
test: [
{
testDate: new mySQLDate().alterDays(-1),
testDate: new mySQLDate(),
lookups: {
classId: 1,
testTemplateId: 1
@@ -555,7 +555,7 @@ async function insertData(dbOptions) {
` values ` +
`(${qs});`;
console.log(sql);
console.log(sql.trim());
try {
await dbConnectionPool.runQuery(sql,