Skip to content

Commit dd0a914

Browse files
committed
Fix swift test
1 parent 1e0920e commit dd0a914

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/languages/swift/Tests.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,13 @@ class Tests: XCTestCase {
128128

129129
try! await general.empty()
130130

131-
let url = try? await general.oauth2("clientId", "https://localhost", ["test"], "123456")
132-
print(url)
131+
let url = try? await general.oauth2(
132+
clientId: "clientId",
133+
redirectUri: "https://localhost",
134+
scopes: ["test"],
135+
state: "123456"
136+
)
137+
print(url)
133138

134139
// Query helper tests
135140
print(Query.equal("released", value: [true]))

0 commit comments

Comments
 (0)