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

View File

@ -34,7 +34,7 @@ func TestGetLibraryElement(t *testing.T) {
Result: libraryElement{
ID: 1,
OrgID: 1,
FolderID: 1,
FolderID: 1, // nolint:staticcheck
UID: res.Result.UID,
Name: "Text - Library Panel",
Kind: int64(model.PanelElement),
@ -131,7 +131,7 @@ func TestGetLibraryElement(t *testing.T) {
Result: libraryElement{
ID: 1,
OrgID: 1,
FolderID: 1,
FolderID: 1, // nolint:staticcheck
UID: res.Result.UID,
Name: "Text - Library Panel",
Kind: int64(model.PanelElement),