Fix attachments test.

This commit is contained in:
Sam Rose 2024-07-08 17:43:05 +01:00
parent b9ac15296a
commit b5f0619c89
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ describe("should be able to re-write attachment URLs", () => {
}
const db = dbCore.getDB(config.getAppId())
await sdk.backups.updateAttachmentColumns(db.name, db)
await config.doInContext(config.getAppId(), () =>
sdk.backups.updateAttachmentColumns(db.name, db)
)
return {
db,