diff --git a/src/Management/src/Endpoint/Configuration/ConfigureEndpointOptions.cs b/src/Management/src/Endpoint/Configuration/ConfigureEndpointOptions.cs index c499a0c64a..bc20d4039b 100644 --- a/src/Management/src/Endpoint/Configuration/ConfigureEndpointOptions.cs +++ b/src/Management/src/Endpoint/Configuration/ConfigureEndpointOptions.cs @@ -33,7 +33,7 @@ public virtual void Configure(T options) ConfigureAtKey(Configuration, _prefix, _id, options); } - protected static void ConfigureAtKey(IConfiguration configuration, string configurationKey, string endpointId, T options) + private static void ConfigureAtKey(IConfiguration configuration, string configurationKey, string endpointId, T options) { ArgumentNullException.ThrowIfNull(options); diff --git a/src/Management/test/Endpoint.Test/ManagementWebApplicationBuilderExtensionsTest.cs b/src/Management/test/Endpoint.Test/ManagementWebApplicationBuilderExtensionsTest.cs index 9aa4d420f8..e4a6ef9757 100755 --- a/src/Management/test/Endpoint.Test/ManagementWebApplicationBuilderExtensionsTest.cs +++ b/src/Management/test/Endpoint.Test/ManagementWebApplicationBuilderExtensionsTest.cs @@ -426,7 +426,7 @@ public async Task AddSeveralActuators_WebApplicationBuilder_PrefersEndpointConfi await host.StartAsync(); HttpClient client = host.GetTestClient(); - // these requests hit the "RequireAuthorization" policy and will only pass if _testServerWithSecureRouting is used + // these requests hit the "RequireAuthorization" policy and will only pass if GetTestWebAppWithSecureRouting is used Assert.Single(host.Services.GetServices().Where(filter => filter is AllActuatorsStartupFilter)); HttpResponseMessage response = await client.GetAsync(new Uri("/actuator", UriKind.Relative)); Assert.Equal(HttpStatusCode.OK, response.StatusCode);