Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ceciliaavila committed Jan 29, 2025
1 parent 0170b67 commit 4715e1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public async Task SendAsync_ShouldReturnSuccessfulResponse()
var response = await httpClient.SendAsync(new HttpRequestMessage(HttpMethod.Get, RequestUri));

Assert.Equal(HttpStatusCode.OK, response.StatusCode);
Mock.Verify(_handler); // "SendAsync", Times.Once(), ItExpr.IsAny<HttpRequestMessage>(), ItExpr.IsAny<CancellationToken>());
Mock.Verify(_handler);
}

[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,18 +197,18 @@ public async Task GetAccessTokenAsync_ShouldReturnTokenForCertificate()
var certificate = new Mock<ICertificateProvider>();
certificate.Setup(x => x.GetCertificate())
.Returns(CreateSelfSignedCertificate("test"))
.Verifiable(Times.Once); ;
.Verifiable(Times.Once);

var service = new Mock<IServiceProvider>();
service.Setup(x => x.GetService(typeof(IOptions<MsalAuthConfigurationOptions>)))
.Returns(options.Object)
.Verifiable(Times.Exactly(2)); ;
.Verifiable(Times.Exactly(2));
service.Setup(x => x.GetService(typeof(ILogger<MsalAuth>)))
.Returns(logger.Object)
.Verifiable(Times.Once); ;
.Verifiable(Times.Once);
service.Setup(sp => sp.GetService(typeof(IHttpClientFactory)))
.Returns(new TestHttpClientFactory())
.Verifiable(Times.Exactly(2)); ;
.Verifiable(Times.Exactly(2));
service.Setup(sp => sp.GetService(typeof(ICertificateProvider)))
.Returns(certificate.Object)
.Verifiable(Times.Once);
Expand Down

0 comments on commit 4715e1b

Please sign in to comment.