Skip to content

Commit 3b91627

Browse files
committed
Use WithSpiceCloud in test client builders
1 parent 1571493 commit 3b91627

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

SpiceTest/FlightQueryTest.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ public void Setup()
5656
return;
5757
}
5858
_spiceClient = new SpiceClientBuilder()
59-
.WithApiKey(ApiKey)
60-
.WithHttpAddress("https://us-east-1-prod-aws-data.spiceai.io")
61-
.WithFlightAddress("https://us-east-1-prod-aws-flight.spiceai.io:443")
62-
.WithTls(true)
59+
.WithSpiceCloud(ApiKey)
6360
.Build();
6461
}
6562
}

SpiceTest/ParameterizedQueryIntegrationTest.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,7 @@ public void Setup()
7272
return;
7373
}
7474
_spiceClient = new SpiceClientBuilder()
75-
.WithApiKey(ApiKey)
76-
.WithHttpAddress("https://us-east-1-prod-aws-data.spiceai.io")
77-
.WithFlightAddress("https://us-east-1-prod-aws-flight.spiceai.io:443")
78-
.WithTls(true)
75+
.WithSpiceCloud(ApiKey)
7976
.Build();
8077
}
8178
}

0 commit comments

Comments
 (0)