Skip to content

Commit

Permalink
Fixed some inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-vmware committed Sep 20, 2024
1 parent 469a808 commit 5955f36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<IStartupFilter>().Where(filter => filter is AllActuatorsStartupFilter));
HttpResponseMessage response = await client.GetAsync(new Uri("/actuator", UriKind.Relative));
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
Expand Down

0 comments on commit 5955f36

Please sign in to comment.