Skip to content

Commit

Permalink
Fix delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki-YuXin committed Feb 25, 2025
1 parent d653b9d commit 0194fbe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ final class MSALNativeAuthSignInUsernameAndPasswordEndToEndTests: MSALNativeAuth
#if os(macOS)
throw XCTSkip("For some reason this test now requires Keychain access, reason needs to be investigated")
#endif

guard let sut = initialisePublicClientApplication(), let username = retrieveUsernameForSignInUsernameAndPassword(), let password = await retrievePasswordForSignInUsername() else {
XCTFail("Missing information")
return
Expand Down Expand Up @@ -244,7 +245,7 @@ final class MSALNativeAuthSignInUsernameAndPasswordEndToEndTests: MSALNativeAuth
}

let signInExpectation = expectation(description: "signing in")
let signInDelegateSpy = SignInPasswordStartDelegateSpy(expectation: signInExpectation)
let signInDelegateSpy = SignInStartDelegateSpy(expectation: signInExpectation)

sut.signIn(username: username, password: password, correlationId: correlationId, delegate: signInDelegateSpy)

Expand Down

0 comments on commit 0194fbe

Please sign in to comment.