diff --git a/tests/Bifrost.Web.Tests/OidcIssuerTests.cs b/tests/Bifrost.Web.Tests/OidcIssuerTests.cs index 125eac8..e3c95f4 100644 --- a/tests/Bifrost.Web.Tests/OidcIssuerTests.cs +++ b/tests/Bifrost.Web.Tests/OidcIssuerTests.cs @@ -290,6 +290,13 @@ public sealed class OidcIssuerTests : IClassFixture [Fact] public async Task Startup_makes_the_one_client_match_configuration_again() + { + // Own host: the drift below leaves the application manager's cache stale for every other test. + using var own = new OidcWebApplicationFactory(); + await new OidcIssuerTests(own).SeederRestoresTheClientAsync(); + } + + private async Task SeederRestoresTheClientAsync() { using var warm = NewClient(); await warm.GetAsync("/healthz");