Upgrading Spring Security OAuth and JUnit Tests through the 👀 of a Java Hipster

Upgrading Spring Security OAuth and JUnit Tests through the :eyes: of a Java Hipster

Learn how to use JUnit to test your Java apps! This is an advanced guide that tells a story about upgrading tests and the super hip testing support in Spring Security and Spring Boot.

Edward Beckett

@mattraible ~ This is a great post mate… thanks for the share!

kenyee

What’s “AuthoritiesConstants.USER”? I can’t find the import.

I’ve been trying to figure out how to test APIs w/ Okta OIDC hooked in…that would make a good blog post :slight_smile:

kenyee

guessing that it’s “ROLE_USER” seems ok…