Skip to content

Commit

Permalink
Update test data for notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceylo committed Dec 11, 2022
1 parent db6470f commit 77e2338
Show file tree
Hide file tree
Showing 4 changed files with 252 additions and 177 deletions.
4 changes: 2 additions & 2 deletions FAKit/Tests/FAPagesTests/FANotesPageTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ final class FANotesPageTests: XCTestCase {

let expected: [FANotesPage.NoteHeader] = [
.init(id: 129953494, author: "someuser", displayAuthor: "SomeUser", title: "Another message",
datetime: "Apr 7, 2022 12:09PM", naturalDatetime: "an hour ago", unread: true,
datetime: "Apr 7, 2022 12:09PM", naturalDatetime: "8 months ago", unread: true,
noteUrl: URL(string: "https://www.furaffinity.net/msg/pms/1/129953494/#message")!),
.init(id: 129953262, author: "someuser", displayAuthor: "SomeUser", title: "Title with some spéciäl çhãrāčtęrs",
datetime: "Apr 7, 2022 11:58AM", naturalDatetime: "an hour ago", unread: false,
datetime: "Apr 7, 2022 11:58AM", naturalDatetime: "8 months ago", unread: false,
noteUrl: URL(string: "https://www.furaffinity.net/msg/pms/1/129953262/#message")!)
]
XCTAssertEqual(expected, page!.noteHeaders)
Expand Down
Loading

0 comments on commit 77e2338

Please sign in to comment.