From c05026406370f392db596fabf89a7bd148f09391 Mon Sep 17 00:00:00 2001 From: Aleksandr Prianichnikov Date: Mon, 23 Oct 2017 17:49:52 +0300 Subject: [PATCH] Resolve error with testing on iOS 10.3.1 --- Tests/ProtocolsTests/MessagesDisplayDelegateTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/ProtocolsTests/MessagesDisplayDelegateTests.swift b/Tests/ProtocolsTests/MessagesDisplayDelegateTests.swift index 25e4ce5b..e1e3f675 100644 --- a/Tests/ProtocolsTests/MessagesDisplayDelegateTests.swift +++ b/Tests/ProtocolsTests/MessagesDisplayDelegateTests.swift @@ -165,8 +165,8 @@ class MessagesDisplayDelegateTests: XCTestCase { } func testMessageHeaderView_isNotNil() { - let headerView = sut.messageHeaderView(for: sut.dataProvider.messages[0], - at: IndexPath(item: 0, section: 0), + let headerView = sut.messageHeaderView(for: sut.dataProvider.messages[1], + at: IndexPath(item: 0, section: 1), in: sut.messagesCollectionView) XCTAssertNotNil(headerView)