From 185ae0fda8e6800d37e51b2d9f3fd09c3a51c979 Mon Sep 17 00:00:00 2001 From: Vinzent Date: Wed, 30 Oct 2024 22:36:54 +0100 Subject: [PATCH] test: use mock storage --- packages/supabase_flutter/test/supabase_flutter_test.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/supabase_flutter/test/supabase_flutter_test.dart b/packages/supabase_flutter/test/supabase_flutter_test.dart index cf117018..920c2dbe 100644 --- a/packages/supabase_flutter/test/supabase_flutter_test.dart +++ b/packages/supabase_flutter/test/supabase_flutter_test.dart @@ -53,6 +53,10 @@ void main() { url: supabaseUrl, anonKey: supabaseUrl, debug: false, + authOptions: FlutterAuthClientOptions( + localStorage: MockLocalStorage(), + pkceAsyncStorage: MockAsyncStorage(), + ), accessToken: () async => 'my-access-token', );