Add tests from getCurrentUserId() method and fix the constructor
Add tests from getCurrentUserId() method and fix the constructor

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