Chore: Deprecate FolderID in libraryElement struct in tests (#77473)

* Chore: Deprecate FolderID in LibraryElement struct in tests

* chore: revert formatting for deprecation comment
This commit is contained in:
Kat Yang
2023-11-06 11:31:15 -05:00
committed by GitHub
parent 2c7f364067
commit 911ffed45b
5 changed files with 29 additions and 26 deletions
@@ -191,8 +191,9 @@ func TestGetLibraryPanelConnections(t *testing.T) {
}
type libraryElement struct {
ID int64 `json:"id"`
OrgID int64 `json:"orgId"`
ID int64 `json:"id"`
OrgID int64 `json:"orgId"`
// Deprecated: use FolderUID instead
FolderID int64 `json:"folderId"`
UID string `json:"uid"`
Name string `json:"name"`