Export/import attachments in integration tests
This commit is contained in:
parent
d42df4b201
commit
9ff6c75eb9
21 changed files with 292 additions and 116 deletions
|
@ -72,10 +72,9 @@ describe('backup/integration', () => {
|
|||
it(basename(fullPath), async () => {
|
||||
const expectedBuffer = await readFile(fullPath);
|
||||
|
||||
await backupsService.importBackup(
|
||||
() => Readable.from([expectedBuffer]),
|
||||
BackupType.TestOnlyPlaintext
|
||||
);
|
||||
await backupsService.importBackup(() => Readable.from([expectedBuffer]), {
|
||||
backupType: BackupType.TestOnlyPlaintext,
|
||||
});
|
||||
|
||||
const exported = await backupsService.exportBackupData(
|
||||
BackupLevel.Media,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue