File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
StreamChatSwiftUI.xcodeproj
StreamChatSwiftUITests/Tests/ChatChannel/ChannelInfo Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 38203820 isa = XCRemoteSwiftPackageReference;
38213821 repositoryURL = "https://github.com/bpollman/stream-chat-swift.git";
38223822 requirement = {
3823- branch = "update-dm-mocks" ;
3823+ branch = develop ;
38243824 kind = branch;
38253825 };
38263826 };
Original file line number Diff line number Diff line change @@ -236,8 +236,9 @@ class ChatChannelInfoViewModel_Tests: StreamChatTestCase {
236236
237237 func test_chatChannelInfoVM_leaveButtonShownInDM( ) {
238238 // Given
239- let channel = ChatChannel . mockDMChannel (
240- name: " Test " ,
239+ let cidDM = ChannelId ( type: . messaging, id: " !members " + . newUniqueId)
240+ let channel = ChatChannel . mock (
241+ cid: cidDM,
241242 ownCapabilities: [ . deleteChannel]
242243 )
243244 let viewModel = ChatChannelInfoViewModel ( channel: channel)
You can’t perform that action at this time.
0 commit comments