fixing test

This commit is contained in:
James Cor
2022-09-22 16:16:46 -07:00
parent aa521524a2
commit fc2e07ed6b
@@ -47,7 +47,7 @@ async function insertAuthor(name) {
try {
await conn.execute('start transaction');
await conn.execute('INSERT INTO users (name) VALUES(?);', [name]);
await conn.execute(`call dolt_commit('-am', 'created author ?')`, [name]);
await conn.execute(`call dolt_commit('-am', concat('created author', ?))`, [name]);
} catch (err) {
console.error(`Error committing ${name}:`, err);
process.exit(1)