From c18545065c3c7e8886845b42bd1837d8b5ada136 Mon Sep 17 00:00:00 2001 From: PatrykBuniX Date: Tue, 19 Dec 2023 13:15:42 +0100 Subject: [PATCH] test: update tests --- src/script/backup/BackupRepository.test.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/script/backup/BackupRepository.test.ts b/src/script/backup/BackupRepository.test.ts index 2e035a6bad8..c682d9aa80b 100644 --- a/src/script/backup/BackupRepository.test.ts +++ b/src/script/backup/BackupRepository.test.ts @@ -28,7 +28,7 @@ import {WebWorker} from 'Util/worker'; import {BackUpHeader, DecodedHeader, ENCRYPTED_BACKUP_FORMAT, ENCRYPTED_BACKUP_VERSION} from './BackUpHeader'; import {BackupRepository, Filename} from './BackupRepository'; import {BackupService} from './BackupService'; -import {CancelError, DifferentAccountError, IncompatibleBackupError, IncompatiblePlatformError} from './Error'; +import {CancelError, DifferentAccountError, IncompatiblePlatformError} from './Error'; import {handleZipEvent} from './zipWorker'; import {ConversationRepository} from '../conversation/ConversationRepository'; @@ -172,12 +172,6 @@ describe('BackupRepository', () => { metaChanges: {user_id: 'fail'}, }, ], - [ - { - expectedError: IncompatibleBackupError, - metaChanges: {version: 13}, // version 14 contains a migration script, thus will generate an error - }, - ], [ { expectedError: IncompatiblePlatformError,