fix(TestUtils)_: remove hardcoded CommunityPermissions_AUTO_ACCEPT for createCommunityConfigurable Membership
This commit is contained in:
parent
3f756a211f
commit
8f2ef400d1
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue