mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 03:59:29 +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: [
|
test: [
|
||||||
{
|
{
|
||||||
testDate: new mySQLDate().alterDays(-1),
|
testDate: new mySQLDate(),
|
||||||
lookups: {
|
lookups: {
|
||||||
classId: 1,
|
classId: 1,
|
||||||
testTemplateId: 1
|
testTemplateId: 1
|
||||||
@@ -555,7 +555,7 @@ async function insertData(dbOptions) {
|
|||||||
` values ` +
|
` values ` +
|
||||||
`(${qs});`;
|
`(${qs});`;
|
||||||
|
|
||||||
console.log(sql);
|
console.log(sql.trim());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await dbConnectionPool.runQuery(sql,
|
await dbConnectionPool.runQuery(sql,
|
||||||
|
|||||||
Reference in New Issue
Block a user