From dcf461e044d85c2b2d20078cd4057ec70af451dd Mon Sep 17 00:00:00 2001 From: Rita Zerrizuela Date: Fri, 24 Nov 2023 22:10:27 +0000 Subject: [PATCH] Update mock --- auth0_flutter/example/ios/Tests/WebAuth/WebAuthSpies.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auth0_flutter/example/ios/Tests/WebAuth/WebAuthSpies.swift b/auth0_flutter/example/ios/Tests/WebAuth/WebAuthSpies.swift index 088546bb..b3db2ab8 100644 --- a/auth0_flutter/example/ios/Tests/WebAuth/WebAuthSpies.swift +++ b/auth0_flutter/example/ios/Tests/WebAuth/WebAuthSpies.swift @@ -137,6 +137,8 @@ class SpyWebAuth: WebAuth { calledLogout = true callback(logoutResult) } + + func onClose(_ callback: (() -> Void)?) -> Self {} } class MockWebAuthUserAgent: WebAuthUserAgent {