use of com.gmoon.resourceserver.user.User in project Toy by gmoon92.
the class BaseIntegrationTest method beforeAll.
@BeforeAll
static void beforeAll(@Autowired UserRepository repository, @Autowired JwtUtils jwtUtils) {
User admin = repository.findByUsername("admin");
TOKEN_OF_ADMIN = new Token(jwtUtils.generate(admin));
}
Aggregations