fix failing preview test on master
Merge pull request #5625 from owncloud/fix-test-master

fix failing preview test on master