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

This commit is contained in:
Matheus Macabu authored and GitHub committed 2024-10-08 15:14:23 +02:00
1 parent ee65f89533
commit 96384b5181
2 files changed
+7 -2

No files matched your search

@@ -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"},