Fix some backup integration tests
This commit is contained in:
parent
c68be0f86e
commit
3a991822c5
33 changed files with 450 additions and 231 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue