Skip to content

Commit

Permalink
Merge pull request #396 from pascalgrimaud/templates-prettier-format
Browse files Browse the repository at this point in the history
Templates: prettier format
  • Loading branch information
pascalgrimaud authored Dec 23, 2021
2 parents 854fa00 + f690d83 commit e201018
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/generator/server/sonar/sonar.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
# Authentication is turned off for out of the box experience while trying out SonarQube
# For real use cases delete sonar.forceAuthentication variable or set sonar.forceAuthentication=true
environment:
- sonar.forceAuthentication=false
- sonar.forceAuthentication=false
# If you want to expose these ports outside your dev PC,
# remove the "127.0.0.1:" prefix
ports:
- 127.0.0.1:9001:9000
- 127.0.0.1:9001:9000
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,7 @@ class TokenProviderTest {
}

private String createTokenWithoutAuthorities() {
UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken(
"test-user",
"test-password",
List.of()
);
UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken("test-user", "test-password", List.of());
return tokenProvider.createToken(authentication, true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.http.HttpStatus;
import org.springframework.context.ApplicationContext;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.test.util.ReflectionTestUtils;
Expand Down

0 comments on commit e201018

Please sign in to comment.