From b0f3ce2b1ae201281784fc035a7396f6d8b3d48d Mon Sep 17 00:00:00 2001
From: Lucas Leblow
Date: Wed, 29 Nov 2023 15:01:02 -0700
Subject: [PATCH] Fix error with owner cert, fix tests, etc
---
.../Tabs/Invite/Invite.component.test.tsx | 2 +-
.../invitation/customProtocol.saga.test.ts | 1 +
.../src/rtl-tests/community.create.test.tsx | 3 +-
packages/identity/src/common.ts | 4 +-
packages/identity/src/extractPubKey.ts | 4 ++
.../communities/communities.selectors.test.ts | 40 +++++--------------
.../communities/communities.selectors.ts | 39 ++++++++----------
.../sagas/communities/communities.slice.ts | 19 +++------
.../saveCommunityMetadata.saga.ts | 5 ---
.../updateCommunity/updateCommunity.saga.ts | 12 +++++-
.../verifyMessage/verifyMessages.saga.test.ts | 9 ++++-
.../startConnection/startConnection.saga.ts | 13 ++----
.../src/sagas/users/users.selectors.ts | 25 +++---------
.../src/utils/tests/factories.ts | 6 ++-
14 files changed, 73 insertions(+), 109 deletions(-)
diff --git a/packages/desktop/src/renderer/components/Settings/Tabs/Invite/Invite.component.test.tsx b/packages/desktop/src/renderer/components/Settings/Tabs/Invite/Invite.component.test.tsx
index 2a82f67823..465d7e25f6 100644
--- a/packages/desktop/src/renderer/components/Settings/Tabs/Invite/Invite.component.test.tsx
+++ b/packages/desktop/src/renderer/components/Settings/Tabs/Invite/Invite.component.test.tsx
@@ -190,7 +190,7 @@ describe('CopyLink', () => {
class="MuiTypography-root MuiTypography-body2 InviteToCommunitylink css-16d47hw-MuiTypography-root"
data-testid="invitation-link"
>
- https://tryquiet.org/join#QmVTkUad2Gq3MkCa8gf12R1gsWDfk2yiTEqb6YGXDG2iQ3=p3oqdr53dkgg3n5nuezlzyawhxvit5efxzlunvzp7n7lmva6fj3i43ad&k=12345
+ https://tryquiet.org/join#QmVTkUad2Gq3MkCa8gf12R1gsWDfk2yiTEqb6YGXDG2iQ3=p3oqdr53dkgg3n5nuezlzyawhxvit5efxzlunvzp7n7lmva6fj3i43ad&k=12345&o=testOwnerOrbitDbIdentity