Skip to content

Commit 9122f3f

Browse files
committed
Fix exception type in shard status update test to ArgumentNullException
1 parent 512c8b3 commit 9122f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Weaviate.Client.Tests/Integration/TestCollectionShards.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public async Task Test_Should_Throw_When_No_Shard_Names_Provided()
209209
);
210210

211211
// Act & Assert
212-
await Assert.ThrowsAsync<ArgumentException>(async () =>
212+
await Assert.ThrowsAsync<ArgumentNullException>(async () =>
213213
await collection.Config.UpdateShardStatus(
214214
ShardStatus.Ready,
215215
cancellationToken: TestContext.Current.CancellationToken

0 commit comments

Comments
 (0)