Skip to content

Commit

Permalink
Fix old copy-paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusOtter committed Jan 29, 2020
1 parent 300e295 commit 0bf1484
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ApodTests/ApodClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,10 @@ public async Task FetchApodAsync_Count_DoesNotSendHttpRequestOnInputError()
[InlineData(ApodErrorCode.None, ApodErrorCode.ApiKeyInvalid, ApodStatusCode.Error)]
public async Task FetchApodAsync_Today_CorrectApodStatusCode(ApodErrorCode inputError, ApodErrorCode httpResponseError, ApodStatusCode expectedStatusCode)
{
var date = default(DateTime);
InputHasError(inputError);
HttpResponseHasError(httpResponseError);

var actualStatusCode = (await _client.FetchApodAsync(date)).StatusCode;
var actualStatusCode = (await _client.FetchApodAsync()).StatusCode;

Assert.Equal(expectedStatusCode, actualStatusCode);
}
Expand Down

0 comments on commit 0bf1484

Please sign in to comment.