Skip to content

Commit 973c21b

Browse files
committed
3.1.8
1 parent 621886e commit 973c21b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MSAL/test/integration/native_auth/end_to_end/reset_password/MSALNativeAuthResetPasswordEndToEndTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ final class MSALNativeAuthResetPasswordEndToEndTests: MSALNativeAuthEndToEndBase
243243

244244
// Verify error condition
245245
XCTAssertTrue(resetPasswordStartDelegate.onResetPasswordErrorCalled)
246-
XCTAssertTrue(resetPasswordStartDelegate.error?.errorDescription!.contains("The tenant or user does not support native credential recovery."))
246+
XCTAssertTrue(resetPasswordStartDelegate.error?.errorDescription?.contains("The tenant or user does not support native credential recovery.") ?? false)
247247
}
248248

249249
// User Case 3.1.9 - Email exists but signup method was OTP, social, etc.

0 commit comments

Comments
 (0)