Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas steuck committed Oct 14, 2024
1 parent e656756 commit 17d80a5
Showing 1 changed file with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,18 @@ public void ConfigureHealthChecks_Use9000ForHealth()
public void ConfigureHealthChecks_UseInsecureAsDefaultForHealth()
{
var config = new KeycloakPluginConfiguration
{
Enabled = true,
Host = "example.com",
Insecure = false,
Port = 8080,
HealthCheck = new HealthCheckConfig
{
Host = "example.com",
Port = 9000,
Prefix = "/health/ready"
}
};
{
Enabled = true,
Host = "example.com",
Insecure = false,
Port = 8080,
HealthCheck = new HealthCheckConfig
{
Host = "example.com",
Port = 9000,
Prefix = "/health/ready"
}
};
var uriBuilder = new UriBuilder(config.GetHealthCheck()) { Path = config.HealthCheck.Prefix };
uriBuilder.Uri.Should().Be("http://example.com:9000/health/ready");
}
Expand All @@ -154,19 +154,19 @@ public void ConfigureHealthChecks_UseInsecureAsDefaultForHealth()
public void ConfigureHealthChecks_InsecureFalseForcesHttps()
{
var config = new KeycloakPluginConfiguration
{
Enabled = true,
Host = "example.com",
Insecure = false,
Port = 8080,
HealthCheck = new HealthCheckConfig
{
Host = "example.com",
Port = 9000,
Prefix = "/health/ready",
Insecure = false
}
};
{
Enabled = true,
Host = "example.com",
Insecure = false,
Port = 8080,
HealthCheck = new HealthCheckConfig
{
Host = "example.com",
Port = 9000,
Prefix = "/health/ready",
Insecure = false
}
};
var uriBuilder = new UriBuilder(config.GetHealthCheck()) { Path = config.HealthCheck.Prefix };
uriBuilder.Uri.Should().Be("https://example.com:9000/health/ready");
}
Expand Down

0 comments on commit 17d80a5

Please sign in to comment.