Skip to content

Commit f423a18

Browse files
committed
fix
1 parent f9ca7e4 commit f423a18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/StorageTests/StorageBucketAPITests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ final class StorageBucketAPITests: XCTestCase {
4747
Mocker.removeAll()
4848
}
4949

50-
func testURLConstruction() {
50+
func testURLConstruction() async {
5151
let urlTestCases = [
5252
(
5353
"https://blah.supabase.co/storage/v1",
@@ -77,7 +77,7 @@ final class StorageBucketAPITests: XCTestCase {
7777
]
7878

7979
for (input, expect, description) in urlTestCases {
80-
XCTContext.runActivity(named: "should \(description) if useNewHostname is true") { _ in
80+
await XCTContext.runActivity(named: "should \(description) if useNewHostname is true") { _ in
8181
let storage = SupabaseStorageClient(
8282
configuration: StorageClientConfiguration(
8383
url: URL(string: input)!,
@@ -88,7 +88,7 @@ final class StorageBucketAPITests: XCTestCase {
8888
XCTAssertEqual(storage.configuration.url.absoluteString, expect)
8989
}
9090

91-
XCTContext.runActivity(named: "should not modify host if useNewHostname is false") { _ in
91+
await XCTContext.runActivity(named: "should not modify host if useNewHostname is false") { _ in
9292
let storage = SupabaseStorageClient(
9393
configuration: StorageClientConfiguration(
9494
url: URL(string: input)!,

0 commit comments

Comments
 (0)