From be0b94d0512821fce7c80f840f62d4dd306ef393 Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Wed, 6 Oct 2021 11:08:17 +0100 Subject: [PATCH] Revert "temporary comment out join community test" This reverts commit 7701368b142ad073f76d678095114b1388cce4b3. --- protocol/communities_messenger_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocol/communities_messenger_test.go b/protocol/communities_messenger_test.go index 4ef0eaec8..fe75eca8a 100644 --- a/protocol/communities_messenger_test.go +++ b/protocol/communities_messenger_test.go @@ -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)