mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-24 06:20:29 +00:00
12 lines
261 B
Swift
12 lines
261 B
Swift
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||
|
|
||
|
import Foundation
|
||
|
import MastodonAPI
|
||
|
import Stubbing
|
||
|
|
||
|
extension StringsEndpoint: Stubbing {
|
||
|
public func data(url: URL) -> Data? {
|
||
|
try? JSONSerialization.data(withJSONObject: ["ok.lol"])
|
||
|
}
|
||
|
}
|