diff --git a/test/Identity.IntegrationTest/Endpoints/IdentityServerTests.cs b/test/Identity.IntegrationTest/Endpoints/IdentityServerTests.cs index 38a1518d14..88c1a8ed73 100644 --- a/test/Identity.IntegrationTest/Endpoints/IdentityServerTests.cs +++ b/test/Identity.IntegrationTest/Endpoints/IdentityServerTests.cs @@ -331,10 +331,7 @@ public class IdentityServerTests : IClassFixture [Theory, BitAutoData] public async Task TokenEndpoint_GrantTypeClientCredentials_AsLegacyUser_NotOnWebClient_Fails(string deviceId) { - var server = _factory.WithWebHostBuilder(builder => - { - builder.UseSetting("globalSettings:launchDarkly:flagValues:block-legacy-users", "true"); - }).Server; + var server = _factory.Server; var username = "test+tokenclientcredentials@email.com";