[Share 2.0] Fix unit tests
[Share 2.0] Fix unit tests

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