Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a143553a09 |
@@ -91,7 +91,7 @@ public class GraphQLClientExceptionHandling : IAsyncLifetime
|
||||
using CancellationTokenSource cts = new();
|
||||
await cts.CancelAsync();
|
||||
|
||||
var ex = await Assert.ThrowsAsync<TaskCanceledException>(async () =>
|
||||
var ex = await Assert.ThrowsAnyAsync<OperationCanceledException>(async () =>
|
||||
await _sut.ActiveUser.Get(cts.Token).ConfigureAwait(false)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user