fix(TestUtils)_: remove hardcoded CommunityPermissions_AUTO_ACCEPT for createCommunityConfigurable Membership

This commit is contained in:
Mykhailo Prakhov 2024-07-05 15:32:32 +02:00
parent 3f756a211f
commit 8f2ef400d1
1 changed files with 1 additions and 1 deletions

View File

@ -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",