Skip to content

Commit 302bdb2

Browse files
committed
fix auth unit tests
1 parent 48b3871 commit 302bdb2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/unit-tests/AuthTests.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,10 @@ class AuthTests: XCTestCase {
643643
completion(AuthTests.authToken)
644644
}
645645
}
646+
647+
func onTokenRegistrationFailed() {
648+
649+
}
646650
}
647651

648652
let authDelegate = AsyncAuthDelegate()
@@ -671,6 +675,10 @@ class AuthTests: XCTestCase {
671675
func onAuthTokenRequested(completion: @escaping AuthTokenRetrievalHandler) {
672676
completion(AuthTests.authToken)
673677
}
678+
679+
func onTokenRegistrationFailed() {
680+
681+
}
674682
}
675683

676684
let authDelegate = AuthDelegate()
@@ -718,6 +726,10 @@ class AuthTests: XCTestCase {
718726
completion(AuthTests.authToken)
719727
}
720728
}
729+
730+
func onTokenRegistrationFailed() {
731+
732+
}
721733
}
722734

723735
let authDelegate = AsyncAuthDelegate()
@@ -852,6 +864,10 @@ class AuthTests: XCTestCase {
852864
func onAuthTokenRequested(completion: @escaping AuthTokenRetrievalHandler) {
853865
completion(authTokenGenerator())
854866
}
867+
868+
func onTokenRegistrationFailed() {
869+
870+
}
855871
}
856872

857873
private func createAuthDelegate(_ authTokenGenerator: @escaping () -> String?) -> IterableAuthDelegate {

0 commit comments

Comments
 (0)