diff --git a/app/extensions/safe/backgroundProcess/safeBrowserApplication/init/initAuthed.ts b/app/extensions/safe/backgroundProcess/safeBrowserApplication/init/initAuthed.ts index ced04ba2a..895c7b2a7 100644 --- a/app/extensions/safe/backgroundProcess/safeBrowserApplication/init/initAuthed.ts +++ b/app/extensions/safe/backgroundProcess/safeBrowserApplication/init/initAuthed.ts @@ -23,8 +23,7 @@ export const initAuthed = async (): Safe => { const authCredentials = await safeBrowserAppObject.auth_app( APP_ID, APP_NAME, - APP_VENDOR, - 41805 + APP_VENDOR ); await safeBrowserAppObject.connect( APP_ID, authCredentials ); diff --git a/app/extensions/safe/test/utils/requestManagement.spec.ts b/app/extensions/safe/test/utils/requestManagement.spec.ts index c025163e7..c364d6d9d 100644 --- a/app/extensions/safe/test/utils/requestManagement.spec.ts +++ b/app/extensions/safe/test/utils/requestManagement.spec.ts @@ -13,7 +13,9 @@ jest.mock( 'electron', () => { const app = { getPath: jest.fn( () => { return '/Somewhere/Electron.app'; - } ) + } ), + getName: jest.fn( () => 'Safe Browser' ), + getVersion: jest.fn( () => 'v0.42.0' ) }; return {