Skip to content

Commit 0194fbe

Browse files
committed
Fix delegate
1 parent d653b9d commit 0194fbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MSAL/test/integration/native_auth/end_to_end/sign_in/MSALNativeAuthSignInUserNameAndPasswordEndToEndTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ final class MSALNativeAuthSignInUsernameAndPasswordEndToEndTests: MSALNativeAuth
9595
#if os(macOS)
9696
throw XCTSkip("For some reason this test now requires Keychain access, reason needs to be investigated")
9797
#endif
98+
9899
guard let sut = initialisePublicClientApplication(), let username = retrieveUsernameForSignInUsernameAndPassword(), let password = await retrievePasswordForSignInUsername() else {
99100
XCTFail("Missing information")
100101
return
@@ -244,7 +245,7 @@ final class MSALNativeAuthSignInUsernameAndPasswordEndToEndTests: MSALNativeAuth
244245
}
245246

246247
let signInExpectation = expectation(description: "signing in")
247-
let signInDelegateSpy = SignInPasswordStartDelegateSpy(expectation: signInExpectation)
248+
let signInDelegateSpy = SignInStartDelegateSpy(expectation: signInExpectation)
248249

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

0 commit comments

Comments
 (0)