Skip to content
Snippets Groups Projects
Commit 7c77aa0f authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Refactor

parent 6b6dbaf3
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!18Update Bindings
......@@ -30,9 +30,8 @@ final class MessageSendReportTests: XCTestCase {
func testDecodeEmpty() throws {
let jsonString = "{}"
let jsonData = jsonString.data(using: .utf8)!
let decoder = JSONDecoder()
decoder.dataDecodingStrategy = .base64
let report = try decoder.decode(MessageSendReport.self, from: jsonData)
let report = try MessageSendReport.decode(jsonData)
XCTAssertNoDifference(report, MessageSendReport(
roundList: nil,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment