mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-12 08:36:02 +01:00
20 lines
487 B
Swift
20 lines
487 B
Swift
import XCTest
|
|
import Combine
|
|
@testable import MastodonSDK
|
|
|
|
final class MastodonSDKTests: XCTestCase {
|
|
|
|
var disposeBag = Set<AnyCancellable>()
|
|
|
|
let session = URLSession(configuration: .ephemeral)
|
|
var domain: String { MastodonSDKTests.environmentVariable(key: "domain") }
|
|
|
|
// TODO: replace with test account token
|
|
var testToken = ""
|
|
|
|
static func environmentVariable(key: String) -> String {
|
|
return ProcessInfo.processInfo.environment[key]!
|
|
}
|
|
|
|
}
|