Skip to content

Commit a7a1cee

Browse files
committed
PushNotificationManagerTests: Add assert for message
1 parent 156149e commit a7a1cee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/WooCommerceTests/Notifications/PushNotificationsManagerTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ final class PushNotificationsManagerTests: XCTestCase {
364364
let emittedNotification = emittedNotifications.first!
365365
XCTAssertEqual(emittedNotification.kind, .storeOrder)
366366
XCTAssertEqual(emittedNotification.noteID, 9_981)
367+
XCTAssertEqual(emittedNotification.message, Sample.defaultMessage)
367368
}
368369

369370
func testItDoesNotEmitForegroundNotificationsWhenItReceivesANotificationWhileAppIsNotActive() {

0 commit comments

Comments
 (0)