test: Application tests response fix
This commit is contained in:
parent
e02ca8c4ae
commit
e501c59f86
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class ApplicationIntegrationTests {
|
|||
.uri(endpoint.concat("/").concat(PESEL))
|
||||
.exchange()
|
||||
.expectStatus().isOk()
|
||||
.expectBody().json(asJson(UserMapper.entityToPojo(EntityCreator.userEntity().pln(100).build())));
|
||||
.expectBody().json(asJson(UserMapper.pojoToResponse(UserMapper.entityToPojo(EntityCreator.userEntity().pln(100).build()))));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue