Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok committed Oct 5, 2023
1 parent 5375e85 commit eaa4dc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public static void main(String[] args) {

@Bean
@ConditionalOnMessageMappingModes(SPRING_MVC)
SepulkaController sepulkaControllerSpringMvc(EdgeValidator validator, SepulkaClient client, SepulkaMsgMapper mapper) {
SepulkaController sepulkaControllerSpringMvc(
EdgeValidator validator, SepulkaClient client, SepulkaMsgMapper mapper) {
return new SepulkaController(validator, client, mapper);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ SepulkaClient internalClient(SepulkaService service, SepulkaConverterImpl conver
@Bean
SepulkaClient externalClient(EdgeValidator validator, SepulkaClient internalClient) {
SepulkaMsgMapper mapper = new SepulkaMsgMapperImpl();
WebTestClient client = MockMvcWebTestClient.bindToController(new SepulkaController(validator, internalClient, mapper))
WebTestClient client = MockMvcWebTestClient.bindToController(
new SepulkaController(validator, internalClient, mapper))
.build();
return new SepulkaClientSpringWeb(client, mapper);
}
Expand Down

0 comments on commit eaa4dc7

Please sign in to comment.