Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
volllly committed Apr 9, 2024
1 parent 67fa3af commit 3455bb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public async Task DownloadConfigurationAsync_ShouldTimeout()
var downloader = new ConfigurationDownloader(config, httpClient);

var clientCurve = ECDiffieHellman.Create();
await Assert.ThrowsAsync<TimeoutRejectedException>(() => downloader.DownloadConfigurationAsync(clientCurve));
await Assert.ThrowsAsync<TaskCanceledException>(() => downloader.DownloadConfigurationAsync(clientCurve));
}
}
}

0 comments on commit 3455bb9

Please sign in to comment.