Skip to content

Commit 4dce37b

Browse files
committed
test: fix tests
1 parent acf504c commit 4dce37b

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
@@ -1246,12 +1246,12 @@ final class AuthClientTests: XCTestCase {
12461246
curl \
12471247
--request PUT \
12481248
--header "Authorization: Bearer accesstoken" \
1249-
--header "Content-Length: 258" \
1249+
--header "Content-Length: 228" \
12501250
--header "Content-Type: application/json" \
12511251
--header "X-Client-Info: auth-swift/0.0.0" \
12521252
--header "X-Supabase-Api-Version: 2024-01-01" \
12531253
--header "apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0" \
1254-
--data "{\"code_challenge\":\"hgJeigklONUI1pKSS98MIAbtJGaNu0zJU1iSiFOn2lY\",\"code_challenge_method\":\"s256\",\"data\":{\"custom_key\":\"custom_value\"},\"email\":\"[email protected]\",\"email_change_token\":\"123456\",\"nonce\":\"abcdef\",\"password\":\"another.pass\",\"phone\":\"+1 202-918-2132\"}" \
1254+
--data "{\"code_challenge\":\"hgJeigklONUI1pKSS98MIAbtJGaNu0zJU1iSiFOn2lY\",\"code_challenge_method\":\"s256\",\"data\":{\"custom_key\":\"custom_value\"},\"email\":\"[email protected]\",\"nonce\":\"abcdef\",\"password\":\"another.pass\",\"phone\":\"+1 202-918-2132\"}" \
12551255
"http://localhost:54321/auth/v1/user"
12561256
"""#
12571257
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ curl \
55
--header "Content-Type: application/json" \
66
--header "X-Client-Info: gotrue-swift/x.y.z" \
77
--header "X-Supabase-Api-Version: 2024-01-01" \
8-
--data "{\"data\":{\"custom_key\":\"custom_value\"},\"email\":\"[email protected]\",\"email_change_token\":\"123456\",\"nonce\":\"abcdef\",\"password\":\"another.pass\",\"phone\":\"+1 202-918-2132\"}" \
8+
--data "{\"data\":{\"custom_key\":\"custom_value\"},\"email\":\"[email protected]\",\"nonce\":\"abcdef\",\"password\":\"another.pass\",\"phone\":\"+1 202-918-2132\"}" \
99
"http://localhost:54321/auth/v1/user"

0 commit comments

Comments
 (0)