Fix unit tests
Fix unit tests

Fixes https://github.com/owncloud/core/issues/21345

owncloud/core,andreas-p/nextcloud-server,pmattern/server,IljaN/core,nextcloud/server,xx621998xx/server,sharidas/core,sharidas/core,pixelipo/server,Ardinis/server,owncloud/core,bluelml/core,michaelletzgus/nextcloud-server,endsguy/server,jbicha/server,jbicha/server,pmattern/server,bluelml/core,michaelletzgus/nextcloud-server,Ardinis/server,xx621998xx/server,pollopolea/core,sharidas/core,pollopolea/core,pollopolea/core,pollopolea/core,michaelletzgus/nextcloud-server,owncloud/core,whitekiba/server,andreas-p/nextcloud-server,Ardinis/server,jbicha/server,owncloud/core,whitekiba/server,Ardinis/server,Ardinis/server,IljaN/core,sharidas/core,cernbox/core,pmattern/server,jbicha/server,sharidas/core,endsguy/server,whitekiba/server,pollopolea/core,endsguy/server,nextcloud/server,pixelipo/server,nextcloud/server,endsguy/server,owncloud/core,pmattern/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,cernbox/core,bluelml/core,andreas-p/nextcloud-server,phil-davis/core,xx621998xx/server,IljaN/core,pixelipo/server,jbicha/server,michaelletzgus/nextcloud-server,cernbox/core,IljaN/core,bluelml/core,whitekiba/server,xx621998xx/server,whitekiba/server,nextcloud/server,bluelml/core,cernbox/core,pixelipo/server,cernbox/core,xx621998xx/server,IljaN/core,pixelipo/server,pmattern/server,endsguy/server