Fix some backup integration tests

This commit is contained in:
Fedor Indutny 2024-09-12 16:48:27 -07:00 committed by GitHub
parent c68be0f86e
commit 3a991822c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 450 additions and 231 deletions

View file

@ -69,7 +69,7 @@ type StateType = Readonly<
export type PrepareLinkDataOptionsType = Readonly<{
deviceName: string;
backupFile?: Uint8Array;
isPlaintextBackup?: boolean;
isBackupIntegration?: boolean;
}>;
export class Provisioner {
@ -153,7 +153,7 @@ export class Provisioner {
public prepareLinkData({
deviceName,
backupFile,
isPlaintextBackup,
isBackupIntegration,
}: PrepareLinkDataOptionsType): CreateLinkedDeviceOptionsType {
strictAssert(
this.state.step === Step.ReadyToLink,
@ -211,7 +211,7 @@ export class Provisioner {
MAX_DEVICE_NAME_LENGTH
),
backupFile,
isPlaintextBackup,
isBackupIntegration,
userAgent,
ourAci,
ourPni,