4 instantiations of StaticTokenCredential
Aspire.Hosting.Azure.Tests (4)
AcrLoginServiceTests.cs (4)
38
await service.LoginAsync("registry.azurecr.io", "tenant", new
StaticTokenCredential
());
63
await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new
StaticTokenCredential
()));
85
await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new
StaticTokenCredential
()));
110
await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new
StaticTokenCredential
()));