fix unit testing for multi-platform module

This commit is contained in:
John Estropia
2022-09-12 16:51:20 +09:00
parent a5936c1120
commit c923dfc12c
7 changed files with 33 additions and 26 deletions

View File

@@ -23,6 +23,7 @@
// SOFTWARE.
//
import Foundation
import XCTest
@testable
@@ -428,7 +429,7 @@ final class TransactionTests: BaseTestCase {
let indexPath = userInfo?["indexPath"] as? IndexPath
XCTAssertEqual(indexPath?.section, 0)
XCTAssertEqual(indexPath?.row, 0)
XCTAssertEqual(indexPath?.item, 0)
let object = userInfo?["object"] as? TestEntity1
XCTAssertEqual(object?.testBoolean, NSNumber(value: true))