Sign in to Community
Sign in to view all badges
I have a admin user who is trying to get client id from osgi config. How can I write a Mock Junit5 test case for user and client id?
As per adobe's recommendations, it is not suggested to use the admin user. Please create a system/service user for retrieving the session. More info on system/service user is available here.
For mocking the service user, check the similar question here.
Hope this helps.