Skip to content

Commit 4e9c6dd

Browse files
committed
Fix auth test build failure from global test run
1 parent 13affce commit 4e9c6dd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

FirebaseAuth/Tests/Unit/AuthBackendRPCImplementationTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,11 @@ class AuthBackendRPCImplementationTests: RPCBaseTests {
534534

535535
#if COCOAPODS || SWIFT_PACKAGE
536536
private class FakeHeartbeatLogger: NSObject, FIRHeartbeatLoggerProtocol {
537+
func headerValue() -> String? {
538+
// `asyncHeaderValue` should be used instead.
539+
fatalError("FakeHeartbeatLogger headerValue should not be used in tests.")
540+
}
541+
537542
func asyncHeaderValue() async -> String? {
538543
let payload = flushHeartbeatsIntoPayload()
539544
guard !payload.isEmpty else {

0 commit comments

Comments
 (0)