diff --git a/Tests/ElixxirDAppsSDKTests/MessageSendReportTests.swift b/Tests/ElixxirDAppsSDKTests/MessageSendReportTests.swift index 8ad3a16642d6aca45576900bec9b748f1fd0f454..8fd6625edbcead61a2e0b62fcdfc134c60b0835d 100644 --- a/Tests/ElixxirDAppsSDKTests/MessageSendReportTests.swift +++ b/Tests/ElixxirDAppsSDKTests/MessageSendReportTests.swift @@ -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,