[stable10] Backport of Lets not assume in the unit test
[stable10] Backport of Lets not assume in the unit test

Lets not assume in the unit test. Assuming zeroth
index is file and first index is folder was failing
in the CI, intermittently.

Signed-off-by: Sujith H <f003c101b6db321bb70f3b324d211f3cd092837a@owncloud.com>

owncloud/core,owncloud/core,owncloud/core,phil-davis/core,owncloud/core,owncloud/core