Skip to content

Commit 781b81e

Browse files
committed
fix test on linux
1 parent f9b4fc6 commit 781b81e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/SupabaseTests/SupabaseClientTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,14 @@ final class SupabaseClientTests: XCTestCase {
100100
#endif
101101

102102
func testClientInitWithCustomAccessToken() async {
103+
let localStorage = AuthLocalStorageMock()
104+
103105
let client = SupabaseClient(
104106
supabaseURL: URL(string: "https://project-ref.supabase.co")!,
105107
supabaseKey: "ANON_KEY",
106108
options: .init(
107109
auth: .init(
110+
storage: localStorage,
108111
accessToken: { "jwt" }
109112
)
110113
)

0 commit comments

Comments
 (0)