BAP-657: User without permissions has access to API get requests  - fixed unit test
BAP-657: User without permissions has access to API get requests
 - fixed unit test

ramunasd/platform,trustify/oroplatform,hugeval/platform,trustify/oroplatform,northdakota/platform,2ndkauboy/platform,hugeval/platform,orocrm/platform,morontt/platform,orocrm/platform,ramunasd/platform,umpirsky/platform,trustify/oroplatform,akeneo/platform,2ndkauboy/platform,Djamy/platform,akeneo/platform,geoffroycochard/platform,hugeval/platform,geoffroycochard/platform,mszajner/platform,northdakota/platform,akeneo/platform,2ndkauboy/platform,morontt/platform,Djamy/platform,orocrm/platform,northdakota/platform,geoffroycochard/platform,umpirsky/platform,mszajner/platform,ramunasd/platform,mszajner/platform,morontt/platform,Djamy/platform