console: fix test after commit 952a927ffd

This commit is contained in:
Vincent Bernat
2024-08-06 19:12:02 +02:00
parent 6c435c679f
commit 2d16640da7

View File

@@ -20,12 +20,14 @@ func TestConfigHandler(t *testing.T) {
JSONOutput: gin.H{ JSONOutput: gin.H{
"version": "dev", "version": "dev",
"defaultVisualizeOptions": gin.H{ "defaultVisualizeOptions": gin.H{
"graphType": "stacked", "graphType": "stacked",
"start": "24 hours ago", "start": "6 hours ago",
"end": "now", "end": "now",
"filter": "InIfBoundary = external", "filter": "InIfBoundary = external",
"dimensions": []string{"SrcAS"}, "dimensions": []string{"SrcAS"},
"limit": 10, "limit": 10,
"bidirectional": false,
"previousPeriod": false,
}, },
"homepageTopWidgets": []string{"src-as", "src-port", "protocol", "src-country", "etype"}, "homepageTopWidgets": []string{"src-as", "src-port", "protocol", "src-country", "etype"},
"dimensionsLimit": 50, "dimensionsLimit": 50,