From 8f2ef400d142d94a4b7a4d76c18cf8460ca8663b Mon Sep 17 00:00:00 2001 From: Mykhailo Prakhov Date: Fri, 5 Jul 2024 15:32:32 +0200 Subject: [PATCH] fix(TestUtils)_: remove hardcoded CommunityPermissions_AUTO_ACCEPT for createCommunityConfigurable Membership --- protocol/communities_messenger_helpers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/communities_messenger_helpers_test.go b/protocol/communities_messenger_helpers_test.go index b6c32bcb5..a5daf048d 100644 --- a/protocol/communities_messenger_helpers_test.go +++ b/protocol/communities_messenger_helpers_test.go @@ -436,7 +436,7 @@ func createOnRequestCommunity(s *suite.Suite, owner *Messenger) (*communities.Co func createCommunityConfigurable(s *suite.Suite, owner *Messenger, permission protobuf.CommunityPermissions_Access) (*communities.Community, *Chat) { description := &requests.CreateCommunity{ - Membership: protobuf.CommunityPermissions_AUTO_ACCEPT, + Membership: permission, Name: "status", Color: "#ffffff", Description: "status community description",