Skip to content

Commit

Permalink
Github issue: passwordExpireDays not decoded into model from response
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarAbdullin-okta committed Aug 23, 2019
1 parent a2bdf66 commit feb9af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Statuses/OktaAuthStatusPasswordWarningTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class OktaAuthStatusPasswordWarningTests: XCTestCase {
XCTAssertNotNil(status.model.links?.cancel)
XCTAssertNotNil(status.model.embedded)
XCTAssertNotNil(status.model.embedded?.policy)
if case .password(let password) = status.model.embedded?.policy {
if case .password(let password)? = status.model.embedded?.policy {
XCTAssertNotNil(password.complexity)
XCTAssertNotNil(password.expiration)
XCTAssertNotNil(password.age)
Expand Down

0 comments on commit feb9af9

Please sign in to comment.