Skip to content

Commit 0cbb3dc

Browse files
Update health_test.go
1 parent 085c04d commit 0cbb3dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/health_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func TestHealthyServer(t *testing.T) {
7575
if !strings.Contains(output, "✓ Reachable") {
7676
t.Errorf("output does not contain reachability info: %q", output)
7777
}
78-
if !strings.Contains(output, "Overall Status: HEALTHY") {
78+
if !strings.Contains(output, "Overall Status: HEALTHY") {
7979
t.Errorf("output does not contain healthy overall status: %q", output)
8080
}
8181
if !strings.Contains(output, "✓ Keycloak: disabled") {
@@ -115,7 +115,7 @@ func TestUnreachableServer(t *testing.T) {
115115
if !strings.Contains(output, "✗ Unreachable") {
116116
t.Errorf("output does not contain unreachable info: %q", output)
117117
}
118-
if !strings.Contains(output, "Overall Status: UNHEALTHY") {
118+
if !strings.Contains(output, "Overall Status: UNHEALTHY") {
119119
t.Errorf("output does not contain unhealthy status: %q", output)
120120
}
121121
}
@@ -164,7 +164,7 @@ func TestHealthResponseParsing(t *testing.T) {
164164
if !strings.Contains(output, "✓ Database: connected") {
165165
t.Errorf("output should show Database connected: %q", output)
166166
}
167-
if !strings.Contains(output, "Overall Status: DEGRADED ⚠️") {
167+
if !strings.Contains(output, "Overall Status: DEGRADED") {
168168
t.Errorf("output should show degraded status: %q", output)
169169
}
170170
}

0 commit comments

Comments
 (0)