Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

withBasicApiToken should create the user as needed #273

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

jglick
Copy link
Member

@jglick jglick commented Jan 30, 2021

Otherwise if you are using e.g.

r.jenkins.setSecurityRealm(r.createDummySecurityRealm());

you have to add a superfluous

User.getById("admin", true);

before calling

r.createWebClient().withBasicApiToken("admin");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants