Skip to content

Commit e23515c

Browse files
committed
test(auth): record snapshots
1 parent 31bd49e commit e23515c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/AuthTests/AuthClientTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,12 +712,12 @@ final class AuthClientTests: XCTestCase {
712712
#"""
713713
curl \
714714
--request POST \
715-
--header "Content-Length: 145" \
715+
--header "Content-Length: 167" \
716716
--header "Content-Type: application/json" \
717717
--header "X-Client-Info: auth-swift/0.0.0" \
718718
--header "X-Supabase-Api-Version: 2024-01-01" \
719719
--header "apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0" \
720-
--data "{\"access_token\":\"access-token\",\"gotrue_meta_security\":{\"captcha_token\":\"captcha-token\"},\"id_token\":\"id-token\",\"nonce\":\"nonce\",\"provider\":\"apple\"}" \
720+
--data "{\"access_token\":\"access-token\",\"gotrue_meta_security\":{\"captcha_token\":\"captcha-token\"},\"id_token\":\"id-token\",\"link_identity\":false,\"nonce\":\"nonce\",\"provider\":\"apple\"}" \
721721
"http://localhost:54321/auth/v1/token?grant_type=id_token"
722722
"""#
723723
}

Tests/AuthTests/__Snapshots__/RequestsTests/testSignInWithIdToken.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ curl \
44
--header "Content-Type: application/json" \
55
--header "X-Client-Info: gotrue-swift/x.y.z" \
66
--header "X-Supabase-Api-Version: 2024-01-01" \
7-
--data "{\"access_token\":\"access-token\",\"gotrue_meta_security\":{\"captcha_token\":\"captcha-token\"},\"id_token\":\"id-token\",\"nonce\":\"nonce\",\"provider\":\"apple\"}" \
7+
--data "{\"access_token\":\"access-token\",\"gotrue_meta_security\":{\"captcha_token\":\"captcha-token\"},\"id_token\":\"id-token\",\"link_identity\":false,\"nonce\":\"nonce\",\"provider\":\"apple\"}" \
88
"http://localhost:54321/auth/v1/token?grant_type=id_token"

0 commit comments

Comments
 (0)