Skip to content

Commit d6d888f

Browse files
committed
feat: Added apikey support in blot test.
1 parent 8836684 commit d6d888f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Tests/SQLiteCloudTests/Integrations/SQLiteCloudTests+Blob.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ final class SQLiteCloudTests_Blob: XCTestCase {
3030
private var hostname: String = .empty
3131
private var username: String = .empty
3232
private var password: String = .empty
33+
private var apiKey: String = .empty
3334
private var cloud: SQLiteCloud!
3435

3536
private var firstLength: Int = 0
@@ -40,8 +41,9 @@ final class SQLiteCloudTests_Blob: XCTestCase {
4041
hostname = secrets.hostname
4142
username = secrets.username
4243
password = secrets.password
43-
44-
let config = SQLiteCloudConfig(hostname: hostname, username: username, password: password)
44+
apiKey = secrets.apiKey
45+
46+
let config = SQLiteCloudConfig(hostname: hostname, username: username, password: password, apiKey: apiKey)
4547
cloud = SQLiteCloud(config: config)
4648
try await cloud.connect()
4749

0 commit comments

Comments
 (0)