Skip to content

Commit

Permalink
ci: tests [skip e2e]
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Apr 15, 2024
1 parent db93237 commit 14b2f91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/snjs/mocha/lib/factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export async function initializeApplication(application) {
export function registerUserToApplication({ application, email, password, ephemeral, mergeLocal = true }) {
if (!email) email = Utils.generateUuid()
if (!password) password = Utils.generateUuid()
return application.register(email, password, ephemeral, mergeLocal)
return application.register(email, password, null, ephemeral, mergeLocal)
}

export async function setOldVersionPasscode({ application, passcode, version }) {
Expand Down
2 changes: 1 addition & 1 deletion packages/snjs/mocha/mfa_service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const registerApp = async (application) => {
const ephemeral = false
const mergeLocal = true

await application.register(email, password, ephemeral, mergeLocal)
await application.register(email, password, null, ephemeral, mergeLocal)
return application
}

Expand Down

0 comments on commit 14b2f91

Please sign in to comment.