Skip to content

Commit

Permalink
fix: lint format
Browse files Browse the repository at this point in the history
  • Loading branch information
granitdula committed Dec 28, 2023
1 parent c829bad commit f6850bf
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@ public async Task GetAccessTokenAsync_CallingGetAccessTokenWithFailedResponse_Th
ItExpr.IsAny<CancellationToken>())
.ReturnsAsync(new HttpResponseMessage()
{
StatusCode = HttpStatusCode.OK, Content = new StringContent(wellKnownUriJson)
StatusCode = HttpStatusCode.OK,
Content = new StringContent(wellKnownUriJson)
});

var testHttpClient = new HttpClient(mockHandler.Object);
Expand Down Expand Up @@ -474,7 +475,8 @@ private static HttpClient CreateMockHttp(string getAsyncResponseFilePath)
ItExpr.IsAny<CancellationToken>())
.ReturnsAsync(new HttpResponseMessage()
{
StatusCode = HttpStatusCode.OK, Content = new StringContent(json)
StatusCode = HttpStatusCode.OK,
Content = new StringContent(json)
});

return new HttpClient(mockHandler.Object);
Expand All @@ -501,7 +503,8 @@ private static HttpClient CreateErroneousMockHttpTokenRequest(string wellKnownUr
ItExpr.IsAny<CancellationToken>())
.ReturnsAsync(new HttpResponseMessage()
{
StatusCode = HttpStatusCode.NotFound, Content = new StringContent(wellKnownUriJson)
StatusCode = HttpStatusCode.NotFound,
Content = new StringContent(wellKnownUriJson)
});

return new HttpClient(mockHandler.Object);
Expand Down Expand Up @@ -539,7 +542,8 @@ private static HttpClient CreateMockHttpTokenRequest(string wellKnownUriPath, in
ItExpr.IsAny<CancellationToken>())
.ReturnsAsync(new HttpResponseMessage()
{
StatusCode = HttpStatusCode.OK, Content = new StringContent(wellKnownUriJson)
StatusCode = HttpStatusCode.OK,
Content = new StringContent(wellKnownUriJson)
});

return new HttpClient(mockHandler.Object);
Expand Down

0 comments on commit f6850bf

Please sign in to comment.