Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EmiM committed Sep 7, 2023
1 parent 1cd5094 commit 9a2b402
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('Handle invitation code', () => {
factory = await getFactory(store)
validInvitationPair = [
{
address: 'y7yczmugl2tekami7sbdz5pfaemvx7bahwthrdvcbzw5vex2crsr26qd',
onionAddress: 'y7yczmugl2tekami7sbdz5pfaemvx7bahwthrdvcbzw5vex2crsr26qd',
peerId: 'QmZoiJNAvCffeEHBjk766nLuKVdkxkAT7wfFJDPPLsbKSE',
},
]
Expand Down
4 changes: 2 additions & 2 deletions packages/desktop/src/rtl-tests/community.create.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/src/rtl-tests/customProtocol.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 9a2b402

Please sign in to comment.