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