Skip to content

Commit

Permalink
Fix compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Omondi (from Dev Box) committed Nov 1, 2023
1 parent d8c22e8 commit e0167e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public void DefensiveProgramming() {
Assert.Throws<ArgumentNullException>(() => new ApiKeyAuthenticationProvider("key", null, ApiKeyAuthenticationProvider.KeyLocation.Header));

var value = new ApiKeyAuthenticationProvider("key", "param", ApiKeyAuthenticationProvider.KeyLocation.Header);
Assert.ThrowsAsync<ArgumentNullException>(async () => await value.AuthenticateRequestAsync(null));
Assert.ThrowsAsync<ArgumentNullException>(() => value.AuthenticateRequestAsync(null));
}
[Fact]
public async Task AddsInHeader() {
Expand Down

0 comments on commit e0167e0

Please sign in to comment.