Skip to content

Commit

Permalink
✅ Update test for immediate device update on token set
Browse files Browse the repository at this point in the history
  • Loading branch information
iujames committed Sep 17, 2024
1 parent 0e1769e commit 2d5ca5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/AppcuesKitTests/Push/PushMonitorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class PushMonitorTests: XCTestCase {
let token = "some-token".data(using: .utf8)
let eventExpectation = expectation(description: "Device event logged")
appcues.analyticsPublisher.onPublish = { trackingUpdate in
XCTAssertEqual(trackingUpdate.type, .event(name: Events.Device.deviceUpdated.rawValue, interactive: false))
XCTAssertEqual(trackingUpdate.type, .event(name: Events.Device.deviceUpdated.rawValue, interactive: true))
XCTAssertNil(trackingUpdate.properties)
eventExpectation.fulfill()
}
Expand Down

0 comments on commit 2d5ca5e

Please sign in to comment.