Skip to content

Commit 0010d8a

Browse files
committed
Fix failed unit test
1 parent f75c439 commit 0010d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Tests/NetworkingTests/Network/AlamofireNetworkErrorHandlerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ final class AlamofireNetworkErrorHandlerTests: XCTestCase {
166166
// Then
167167
XCTAssertEqual(receivedNotifications.count, 1)
168168
XCTAssertEqual(receivedNotifications.first?.name, .JetpackSiteEligibleForAppPasswordSupport)
169-
XCTAssertNil(receivedNotifications.first?.object)
169+
XCTAssertEqual(receivedNotifications.first?.object as? Int64, siteID)
170170

171171
notificationCenter.removeObserver(observer)
172172
}

0 commit comments

Comments
 (0)