File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
WooCommerceTests/Notifications Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ import UIKit
77///
88struct Notice {
99
10- /// The title of the notice
10+ /// The title that contains the reason for the notice
1111 ///
1212 let title : String
1313
14- /// An optional subtitle for the notice
14+ /// An optional subtitle that contains a secondary description of the reason for the notice
1515 ///
1616 let subtitle : String ?
1717
18- /// An optional subtitle for the notice
18+ /// An optional message that contains any details for the notice
1919 ///
2020 let message : String ?
2121
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ final class PushNotificationsManagerTests: XCTestCase {
515515 // Then
516516 XCTAssertEqual ( emittedNotifications. count, 1 )
517517
518- let emittedNotification = emittedNotifications. first!
518+ let emittedNotification = try XCTUnwrap ( emittedNotifications. first)
519519 XCTAssertEqual ( emittedNotification. kind, . storeOrder)
520520 XCTAssertEqual ( emittedNotification. noteID, 9_981 )
521521 XCTAssertEqual ( emittedNotification. title, Sample . defaultTitle)
You can’t perform that action at this time.
0 commit comments