GetStream / stream-chat-swift

๐Ÿ’ฌ iOS Chat SDK in Swift - Build your own app chat experience for iOS using the official Stream Chat API
https://getstream.io/chat/sdk/ios/
Other
861 stars 210 forks source link

Update mockDMChannel with parameter to set `ownCapabilities` #3478

Closed bpollman closed 3 weeks ago

bpollman commented 3 weeks ago

๐Ÿ”— Issue Links

Provide all Jira tickets and/or Github issues related to this PR, if applicable.

๐ŸŽฏ Goal

Update mockDMChannel with parameter to set ownCapabilities in order to properly test test_chatChannelInfoVM_leaveButtonShownInDM in related PR https://github.com/GetStream/stream-chat-swiftui/pull/630

๐Ÿ“ Summary

Provide bullet points with the most important changes in the codebase.

๐Ÿ›  Implementation

Provide a detailed description of the implementation and explain your decisions if you find them relevant.

๐ŸŽจ Showcase

Add relevant screenshots and/or videos/gifs to easily see what this PR changes, if applicable.

Before After
img img

๐Ÿงช Manual Testing Notes

Explain how this change can be tested manually, if applicable.

โ˜‘๏ธ Contributor Checklist

๐ŸŽ Meme

Provide a funny gif or image that relates to your work on this pull request. (Optional)

nuno-vieira commented 3 weeks ago

Thank you! @bpollman