chore: fix tests

pull/18641/head
David McKay 2020-06-25 17:24:48 +01:00
parent b600559d53
commit e97a0eb027
3 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ func TestView_MarshalJSON(t *testing.T) {
"shadeBelow": false, "shadeBelow": false,
"position": "", "position": "",
"timeFormat": "", "timeFormat": "",
"hoverDimension": "y" "hoverDimension": ""
} }
} }
`, `,

View File

@ -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": "",