Skip to content

Commit

Permalink
OAuth2: fix import in templates for account context
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Mar 12, 2022
1 parent b004b3e commit 19b9fbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package {{packageName}}.account.infrastructure.domain;
package {{packageName}}.account.domain;

public class AccountConstants {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package {{packageName}}.account.infrastructure.primary.rest;

import static tech.jhipster.beer.account.infrastructure.domain.AccountConstants.DEFAULT_LANGUAGE;
import static {{packageName}}.account.domain.AccountConstants.DEFAULT_LANGUAGE;

import java.time.Instant;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import org.springframework.security.authentication.AbstractAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;
import tech.jhipster.beer.security.oauth2.application.SecurityUtils;
import {{packageName}}.security.oauth2.application.SecurityUtils;

public class UserDTO {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package {{packageName}}.account.infrastructure.primary.rest;
import static org.assertj.core.api.Assertions.*;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
import static tech.jhipster.beer.account.infrastructure.primary.rest.OAuth2TestUtil.*;
import static {{packageName}}.account.infrastructure.primary.rest.OAuth2TestUtil.*;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down

0 comments on commit 19b9fbc

Please sign in to comment.