Skip to content

Commit

Permalink
fix unit test by add more context on shared channel testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
fahmizulhasymi committed Dec 3, 2024
1 parent a2280c9 commit 380d30b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conversation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ func TestCreateSharedChannel(t *testing.T) {
channel.LastRead = "1401383885.000061"
channel.UnreadCount = 0
channel.UnreadCountDisplay = 0
channel.IsShared = true
channel.IsExtShared = true
channel.ContextTeamID = "T1ABCD2E12"
channel.ConversationHostID = "T07XY8FPJ5C"
channel.SharedTeamIDs = []string{"T07XY8FPJ5C"}
channel.ConnectedTeamIDs = []string{"T07XY8FPJ5C", "T1ABCD2E12"}
assertSharedChannel(t, channel)
}

Expand Down

0 comments on commit 380d30b

Please sign in to comment.