We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf710fb commit 418d8a7Copy full SHA for 418d8a7
WooCommerce/WooCommerceTests/POS/Controllers/PointOfSaleOrderControllerTests.swift
@@ -736,7 +736,7 @@ struct PointOfSaleOrderControllerTests {
736
// Then
737
let indexOfEvent = try #require(analytics.events.firstIndex(where: { $0.eventName == "receipt_email_failed" }))
738
#expect(analytics.events.map(\.properties)[indexOfEvent]["eligible_for_pos_receipt"] as? Bool == true)
739
- #expect(analytics.events.map(\.properties)[indexOfEvent]["error_description"] as? String != nil)
+ #expect(analytics.events.map(\.error)[indexOfEvent] != nil)
740
}
741
742
0 commit comments