Fix tests

This commit is contained in:
Thomas Ricouard 2024-01-07 19:02:22 +01:00
parent 334b09ebe3
commit 738180665e
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ final class TimelineFilterTests: XCTestCase {
XCTAssertTrue(try testCodableOn(filter: .local))
XCTAssertTrue(try testCodableOn(filter: .federated))
XCTAssertTrue(try testCodableOn(filter: .remoteLocal(server: "me.dm", filter: .local)))
XCTAssertTrue(try testCodableOn(filter: .tagGroup(title: "test", tags: ["test"])))
XCTAssertTrue(try testCodableOn(filter: .tagGroup(title: "test", tags: ["test"], symbolName: nil)))
XCTAssertTrue(try testCodableOn(filter: .tagGroup(title: "test", tags: ["test"], symbolName: "test")))
XCTAssertTrue(try testCodableOn(filter: .hashtag(tag: "test", accountId: nil)))
XCTAssertTrue(try testCodableOn(filter: .list(list: .init(id: "test", title: "test"))))
}