Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions pkg/cli/mcp_logs_guardrail_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,26 +90,12 @@ func TestMCPServer_LogsGuardrail(t *testing.T) {
t.Error("Schema should have fields")
}

if len(guardrail.SuggestedQueries) == 0 {
t.Error("Should have suggested queries")
}

// Verify some expected fields are in the schema
expectedFields := []string{"summary", "runs", "tool_usage", "errors_and_warnings"}
for _, field := range expectedFields {
if _, ok := guardrail.Schema.Fields[field]; !ok {
t.Errorf("Schema should include field '%s'", field)
}
}

// Verify suggested queries have proper structure
for i, query := range guardrail.SuggestedQueries {
if query.Description == "" {
t.Errorf("Query %d should have description", i)
}
if query.Query == "" {
t.Errorf("Query %d should have query string", i)
}
}
})
}
Loading