File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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) !,
You can’t perform that action at this time.
0 commit comments