4 instantiations of StaticTokenCredential
Aspire.Hosting.Azure.Tests (4)
AcrLoginServiceTests.cs (4)
77
await service.LoginAsync("registry.azurecr.io", "tenant", new
StaticTokenCredential
());
102
await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new
StaticTokenCredential
()));
124
await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new
StaticTokenCredential
()));
149
await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new
StaticTokenCredential
()));