Adjust test scripts for current database versions

This commit is contained in:
Jonas Lochmann
2026-03-23 01:00:00 +01:00
parent 6fefd4cf18
commit 510c61bafd
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ async function startPostgres() {
const password = generateToken() // this database accepts anything
await spawnAsync('createuser', ['-h', socketDir, username], { stdio: 'inherit' })
await spawnAsync('createdb', ['-h', socketDir, database], { stdio: 'inherit' })
await spawnAsync('createdb', ['-h', socketDir, '--owner', username, database], { stdio: 'inherit' })
return {
shutdown: () => task.kill('SIGINT'),