Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Apr 26, 2024
1 parent 900d26c commit 471dc6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tests/AuthTests/SessionManagerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ final class SessionManagerTests: XCTestCase {
.init(session: .validSession)
}

Current.sessionRefresher.refreshSession = { _ in
dump(Thread.callStackSymbols)
XCTFail("Should not refresh session.")
return .expiredSession
}

let sut = SessionManager.live

let session = try await sut.session()
Expand Down

0 comments on commit 471dc6d

Please sign in to comment.