Chore: Deprecate ID from Folder (#78281)
* Chore: Deprecate ID from Folder * chore: add more linter comments * chore: add missing lint comment
This commit is contained in:
@@ -26,7 +26,7 @@ import (
|
||||
func Test_subscribeToFolderChanges(t *testing.T) {
|
||||
orgID := rand.Int63()
|
||||
folder := &folder.Folder{
|
||||
ID: 0,
|
||||
ID: 0, // nolint:staticcheck
|
||||
UID: util.GenerateShortUID(),
|
||||
Title: "Folder" + util.GenerateShortUID(),
|
||||
}
|
||||
@@ -42,7 +42,7 @@ func Test_subscribeToFolderChanges(t *testing.T) {
|
||||
err := bus.Publish(context.Background(), &events.FolderTitleUpdated{
|
||||
Timestamp: time.Now(),
|
||||
Title: "Folder" + util.GenerateShortUID(),
|
||||
ID: folder.ID,
|
||||
ID: folder.ID, // nolint:staticcheck
|
||||
UID: folder.UID,
|
||||
OrgID: orgID,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user