@@ -421,9 +421,11 @@ func TestIntegrationNestedFolderService(t *testing.T) {
421
421
_ = createRule (t , alertStore , parent .UID , "parent alert" )
422
422
_ = createRule (t , alertStore , subfolder .UID , "sub alert" )
423
423
424
+ // nolint:staticcheck
424
425
libraryElementCmd .FolderID = parent .ID
425
426
_ , err = lps .LibraryElementService .CreateElement (context .Background (), & signedInUser , libraryElementCmd )
426
427
require .NoError (t , err )
428
+ // nolint:staticcheck
427
429
libraryElementCmd .FolderID = subfolder .ID
428
430
_ , err = lps .LibraryElementService .CreateElement (context .Background (), & signedInUser , libraryElementCmd )
429
431
require .NoError (t , err )
@@ -496,9 +498,11 @@ func TestIntegrationNestedFolderService(t *testing.T) {
496
498
_ = createRule (t , alertStore , parent .UID , "parent alert" )
497
499
_ = createRule (t , alertStore , subfolder .UID , "sub alert" )
498
500
501
+ // nolint:staticcheck
499
502
libraryElementCmd .FolderID = parent .ID
500
503
_ , err = lps .LibraryElementService .CreateElement (context .Background (), & signedInUser , libraryElementCmd )
501
504
require .NoError (t , err )
505
+ // nolint:staticcheck
502
506
libraryElementCmd .FolderID = subfolder .ID
503
507
_ , err = lps .LibraryElementService .CreateElement (context .Background (), & signedInUser , libraryElementCmd )
504
508
require .NoError (t , err )
@@ -631,11 +635,12 @@ func TestIntegrationNestedFolderService(t *testing.T) {
631
635
subfolder , err = serviceWithFlagOn .dashboardFolderStore .GetFolderByUID (context .Background (), orgID , ancestorUIDs [1 ])
632
636
require .NoError (t , err )
633
637
_ = createRule (t , alertStore , subfolder .UID , "sub alert" )
638
+ // nolint:staticcheck
634
639
libraryElementCmd .FolderID = subfolder .ID
635
640
subPanel , err = lps .LibraryElementService .CreateElement (context .Background (), & signedInUser , libraryElementCmd )
636
641
require .NoError (t , err )
637
642
}
638
-
643
+ // nolint:staticcheck
639
644
libraryElementCmd .FolderID = parent .ID
640
645
parentPanel , err := lps .LibraryElementService .CreateElement (context .Background (), & signedInUser , libraryElementCmd )
641
646
require .NoError (t , err )
0 commit comments