mirror of
https://github.com/status-im/status-go.git
synced 2025-01-21 20:20:29 +00:00
Revert "temporary comment out join community test"
This reverts commit 7701368b142ad073f76d678095114b1388cce4b3.
This commit is contained in:
parent
7701368b14
commit
be0b94d051
@ -212,7 +212,7 @@ func (s *MessengerCommunitiesSuite) TestJoinCommunity() {
|
||||
s.Require().NoError(err)
|
||||
s.Require().NotNil(response)
|
||||
s.Require().Len(response.Communities(), 1)
|
||||
//s.Require().Len(response.Chats(), 1)
|
||||
s.Require().Len(response.Chats(), 1)
|
||||
|
||||
createdChat := response.Chats()[0]
|
||||
s.Require().Equal(community.IDString(), createdChat.CommunityID)
|
||||
@ -342,10 +342,10 @@ func (s *MessengerCommunitiesSuite) TestJoinCommunity() {
|
||||
s.Require().NoError(err)
|
||||
s.Require().Len(communities, 2)
|
||||
s.Require().Len(response.Communities(), 1)
|
||||
//s.Require().Len(response.Chats(), 1)
|
||||
s.Require().Len(response.Chats(), 1)
|
||||
|
||||
// The chat should be created
|
||||
createdChat = response.Chats()[1]
|
||||
createdChat = response.Chats()[0]
|
||||
s.Require().Equal(community.IDString(), createdChat.CommunityID)
|
||||
s.Require().Equal(orgChat.Identity.DisplayName, createdChat.Name)
|
||||
s.Require().Equal(orgChat.Identity.Emoji, createdChat.Emoji)
|
||||
|
Loading…
x
Reference in New Issue
Block a user