Fix OneDrive sanity tests (#4774)
<!-- PR description--> --- #### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [x] ⛔ No #### Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [x] 🤖 Supportability/Tests - [ ] 💻 CI/Deployment - [ ] 🧹 Tech Debt/Cleanup #### Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * #<issue> #### Test Plan <!-- How will this be tested prior to merging.--> - [ ] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
60307e39fd
commit
e3fdc8d5d8
@ -95,6 +95,7 @@ func recursivelyBuildTree(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if driveItem.GetFile() != nil {
|
if driveItem.GetFile() != nil {
|
||||||
|
stree.CountLeaves++
|
||||||
stree.Leaves[itemName] = &common.Sanileaf[models.DriveItemable, models.DriveItemable]{
|
stree.Leaves[itemName] = &common.Sanileaf[models.DriveItemable, models.DriveItemable]{
|
||||||
Parent: stree,
|
Parent: stree,
|
||||||
Self: driveItem,
|
Self: driveItem,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user