Skip to content

Commit

Permalink
fix test on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Jun 18, 2024
1 parent f9b4fc6 commit 781b81e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/SupabaseTests/SupabaseClientTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,14 @@ final class SupabaseClientTests: XCTestCase {
#endif

func testClientInitWithCustomAccessToken() async {
let localStorage = AuthLocalStorageMock()

let client = SupabaseClient(
supabaseURL: URL(string: "https://project-ref.supabase.co")!,
supabaseKey: "ANON_KEY",
options: .init(
auth: .init(
storage: localStorage,
accessToken: { "jwt" }
)
)
Expand Down

0 comments on commit 781b81e

Please sign in to comment.