Skip to content

Commit 8c19600

Browse files
committed
complete auth test
1 parent 67c06e4 commit 8c19600

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/unit-tests/AuthTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,12 @@ class AuthTests: XCTestCase {
222222
let updatedEmail = "2"
223223
let updatedToken = "564g"
224224

225+
let authDelegate = DefaultAuthDelegate {
226+
return originalToken
227+
}
228+
225229
let config = IterableConfig()
230+
config.authDelegate = authDelegate
226231

227232
internalAPI = InternalIterableAPI.initializeForTesting(config: config)
228233

0 commit comments

Comments
 (0)