CloudMigrations: cover cases where library panel has no folder (#94405)

This commit is contained in:
Matheus Macabu
2024-10-08 15:14:23 +02:00
committed by GitHub
parent ee65f89533
commit 96384b5181
2 changed files with 7 additions and 2 deletions
@@ -672,6 +672,7 @@ func TestGetParentNames(t *testing.T) {
},
libraryElements: []libraryElement{
{UID: "libraryElementUID-0", FolderUID: &libraryElementFolderUID},
{UID: "libraryElementUID-1"},
},
expectedDashParentNames: []string{"", "Folder A", "Folder B"},
expectedFoldParentNames: []string{"Folder A"},