test: Application tests response fix

This commit is contained in:
Piotr Dec 2024-06-27 01:29:36 +02:00
parent e02ca8c4ae
commit e501c59f86
Signed by: stawros
GPG key ID: F89F27AD8F881A91

View file

@ -116,7 +116,7 @@ class ApplicationIntegrationTests {
.uri(endpoint.concat("/").concat(PESEL)) .uri(endpoint.concat("/").concat(PESEL))
.exchange() .exchange()
.expectStatus().isOk() .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 @Test