chore: fix tests
parent
b600559d53
commit
e97a0eb027
|
@ -53,7 +53,7 @@ func TestView_MarshalJSON(t *testing.T) {
|
||||||
"shadeBelow": false,
|
"shadeBelow": false,
|
||||||
"position": "",
|
"position": "",
|
||||||
"timeFormat": "",
|
"timeFormat": "",
|
||||||
"hoverDimension": "y"
|
"hoverDimension": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
|
|
@ -461,7 +461,7 @@ func TestService_handleGetDashboard(t *testing.T) {
|
||||||
"note": "",
|
"note": "",
|
||||||
"queries": null,
|
"queries": null,
|
||||||
"shadeBelow": false,
|
"shadeBelow": false,
|
||||||
"hoverDimension": "y",
|
"hoverDimension": "",
|
||||||
"showNoteWhenEmpty": false,
|
"showNoteWhenEmpty": false,
|
||||||
"timeFormat": "",
|
"timeFormat": "",
|
||||||
"type": "xy",
|
"type": "xy",
|
||||||
|
@ -978,7 +978,7 @@ func TestService_handlePostDashboard(t *testing.T) {
|
||||||
"position": "",
|
"position": "",
|
||||||
"queries": null,
|
"queries": null,
|
||||||
"shadeBelow": false,
|
"shadeBelow": false,
|
||||||
"hoverDimension": "y",
|
"hoverDimension": "",
|
||||||
"showNoteWhenEmpty": false,
|
"showNoteWhenEmpty": false,
|
||||||
"timeFormat": "",
|
"timeFormat": "",
|
||||||
"type": "",
|
"type": "",
|
||||||
|
|
Loading…
Reference in New Issue