Commit be62dc4d by Arve Knudsen Committed by GitHub

librarypanels: Fix JSON field casing in tests (#29954)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent 24bc2b1c
...@@ -179,11 +179,11 @@ func TestGetAllLibraryPanels(t *testing.T) { ...@@ -179,11 +179,11 @@ func TestGetAllLibraryPanels(t *testing.T) {
} }
type libraryPanel struct { type libraryPanel struct {
ID int64 `json:"ID"` ID int64 `json:"id"`
OrgID int64 `json:"OrgID"` OrgID int64 `json:"orgId"`
FolderID int64 `json:"FolderID"` FolderID int64 `json:"folderId"`
UID string `json:"UID"` UID string `json:"uid"`
Name string `json:"Name"` Name string `json:"name"`
} }
type libraryPanelResult struct { type libraryPanelResult struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment