BAEL-5054 fix indentations
This commit is contained in:
parent
82c3389ba0
commit
439848c165
|
@ -27,8 +27,10 @@ class ReactiveUploadServiceUnitTest {
|
|||
@Test
|
||||
void givenAPdf_whenUploadingWithWebClient_thenOK() {
|
||||
final Resource file = mock(Resource.class);
|
||||
|
||||
final Mono<HttpStatus> result = tested.uploadPdf(file);
|
||||
final HttpStatus status = result.block();
|
||||
|
||||
assertThat(status).isEqualTo(HttpStatus.OK);
|
||||
}
|
||||
|
||||
|
@ -37,8 +39,10 @@ class ReactiveUploadServiceUnitTest {
|
|||
final Resource file = mock(Resource.class);
|
||||
final MultipartFile multipartFile = mock(MultipartFile.class);
|
||||
when(multipartFile.getResource()).thenReturn(file);
|
||||
|
||||
final Mono<HttpStatus> result = tested.uploadMultipart(multipartFile);
|
||||
final HttpStatus status = result.block();
|
||||
|
||||
assertThat(status).isEqualTo(HttpStatus.OK);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue