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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user