diff --git a/packages/desktop/src/renderer/sagas/invitation/handleInvitationCode.saga.test.ts b/packages/desktop/src/renderer/sagas/invitation/handleInvitationCode.saga.test.ts index a98bf1d5e1..d95c7fd035 100644 --- a/packages/desktop/src/renderer/sagas/invitation/handleInvitationCode.saga.test.ts +++ b/packages/desktop/src/renderer/sagas/invitation/handleInvitationCode.saga.test.ts @@ -28,7 +28,7 @@ describe('Handle invitation code', () => { factory = await getFactory(store) validInvitationPair = [ { - address: 'y7yczmugl2tekami7sbdz5pfaemvx7bahwthrdvcbzw5vex2crsr26qd', + onionAddress: 'y7yczmugl2tekami7sbdz5pfaemvx7bahwthrdvcbzw5vex2crsr26qd', peerId: 'QmZoiJNAvCffeEHBjk766nLuKVdkxkAT7wfFJDPPLsbKSE', }, ] diff --git a/packages/desktop/src/rtl-tests/community.create.test.tsx b/packages/desktop/src/rtl-tests/community.create.test.tsx index 7bf3329724..91304eadcc 100644 --- a/packages/desktop/src/rtl-tests/community.create.test.tsx +++ b/packages/desktop/src/rtl-tests/community.create.test.tsx @@ -183,14 +183,12 @@ describe('User', () => { expect(actions).toMatchInlineSnapshot(` Array [ "Communities/createNetwork", - "Communities/clearInvitationCode", "Communities/addNewCommunity", "Communities/setCurrentCommunity", "Modals/closeModal", "Modals/openModal", "Identity/registerUsername", "Communities/responseCreateNetwork", - "Communities/clearInvitationCode", "Communities/updateCommunityData", "Identity/addNewIdentity", "Network/setLoadingPanelType", @@ -201,8 +199,10 @@ describe('User', () => { "Identity/storeUserCertificate", "Identity/savedOwnerCertificate", "Communities/launchRegistrar", + "Identity/saveUserCsr", "Files/checkForMissingFiles", "Network/addInitializedCommunity", + "Communities/clearInvitationCodes", "Identity/saveOwnerCertToDb", "PublicChannels/createGeneralChannel", "PublicChannels/channelsReplicated", diff --git a/packages/desktop/src/rtl-tests/customProtocol.test.tsx b/packages/desktop/src/rtl-tests/customProtocol.test.tsx index 2837451ef5..b0dbcaf697 100644 --- a/packages/desktop/src/rtl-tests/customProtocol.test.tsx +++ b/packages/desktop/src/rtl-tests/customProtocol.test.tsx @@ -66,7 +66,7 @@ describe('Opening app through custom protocol', () => { ) const invitationCodes: InvitationPair[] = [ - { peerId: 'abcdef', address: 'bidrmzr3ee6qa2vvrlcnqvvvsk2gmjktcqkunba326parszr44gibwyd' }, + { peerId: 'abcdef', onionAddress: 'bidrmzr3ee6qa2vvrlcnqvvvsk2gmjktcqkunba326parszr44gibwyd' }, ] store.dispatch(communities.actions.handleInvitationCodes(invitationCodes))