Skip to content

Commit

Permalink
Added assertion for deviceSecret in RSH3b3b test.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Mar 25, 2024
1 parent fe0b9e6 commit 2eaa256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Test/Tests/PushActivationStateMachineTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ class PushActivationStateMachineTests: XCTestCase {
XCTAssertEqual(url.host, rest.internal.options.restUrl().host)
XCTAssertEqual(request.httpMethod, "POST")
XCTAssertEqual(body.value(forKey: "id") as? String, rest.device.id)
XCTAssertEqual(body.value(forKey: "deviceSecret") as? String, rest.device.secret)
XCTAssertEqual(body.value(forKey: "push") as? [String: [String: AnyHashable]], expectedPushRecipient)
XCTAssertEqual(body.value(forKey: "formFactor") as? String, expectedFormFactor)
XCTAssertEqual(body.value(forKey: "platform") as? String, expectedPlatform)
Expand Down

0 comments on commit 2eaa256

Please sign in to comment.