Skip to content

Commit 58bb7bb

Browse files
committed
Fix tests
1 parent 3461b73 commit 58bb7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/StreamChatUITests/SnapshotTests/ChatMessageList/ChatMessage/ChatMessageContentView_Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import XCTest
1616
/// Another user.
1717
private let myFriend: ChatUser = .mock(id: .unique, imageURL: TestImages.vader.url)
1818
/// The `createdAt` for all test messages
19-
private let createdAt = DateFormatter.Stream.rfc3339Date(from: "2019-12-12T15:33:46.488935Z")!
19+
private let createdAt = "2019-12-12T15:33:46.488935Z".toDate()
2020

2121
/// Static setUp() is only run once. Which is what we want in this case to preload the images.
2222
override class func setUp() {

0 commit comments

Comments
 (0)