Skip to content

Commit

Permalink
Merge pull request #1974 from ably/fix_frontdoor_144__JWT_and_realtime
Browse files Browse the repository at this point in the history
fix test__144__JWT_and_realtime__when_using_authUrl__when_token_expires against frontdoor
  • Loading branch information
lawrence-forooghian authored Sep 23, 2024
2 parents 80f05fd + c28a8f8 commit ed47cc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Test/Tests/AuthTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4159,7 +4159,8 @@ class AuthTests: XCTestCase {
client.connection.once(.connected) { stateChange in
client.connection.once(.disconnected) { stateChange in
XCTAssertEqual(stateChange.reason?.code, ARTErrorCode.tokenExpired.intValue)
expect(stateChange.reason?.description).to(contain("Key/token status changed (expire)"))
expect(stateChange.reason?.description).to(contain("token"))
expect(stateChange.reason?.description).to(contain("expire"))
done()
}
}
Expand Down

0 comments on commit ed47cc5

Please sign in to comment.