import Foundation import UIKit import XCTest @testable import OldFella extension SecureSessionUploadFixture { static let threadJSON = """ { "thread": { "parent": { "post": { "uri": "at://did:plc:reader/app.bsky.feed.post/root", "cid": "root-cid", "author": { "did": "did:plc:reader", "handle": "reader.bsky.social" }, "record": { "text": "Root" }, "replyCount": 7 }, "parent": null }, "post": { "uri": "at://did:plc:reader/app.bsky.feed.post/selected", "cid": "selected-cid", "author": { "did": "did:plc:reader", "handle": "reader.bsky.social" }, "record": { "text": "Selected", "reply": { "root": { "uri": "at://did:plc:reader/app.bsky.feed.post/root", "cid": "root-cid" }, "parent": { "uri": "at://did:plc:reader/app.bsky.feed.post/root", "cid": "root-cid" } } } }, "replies": [ { "post": { "uri": "at://did:plc:reader/app.bsky.feed.post/reply", "cid": "reply-cid", "author": { "did": "did:plc:reader", "handle": "reader.bsky.social" }, "record": { "text": "Reply" } }, "replies": [ { "post": { "uri": "at://did:plc:reader/app.bsky.feed.post/nested", "cid": "nested-cid", "author": { "did": "did:plc:reader", "handle": "reader.bsky.social" }, "record": { "text": "Nested" } }, "replies": [] } ] } ] } } """ }