Skip to content
Snippets Groups Projects
Commit 822896b0 authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

OZG-6706 OZG-7500 Remove usingRecursiveComparison where not needed

parent f476d51a
Branches ckan-2.11.0
No related tags found
1 merge request!3OZG-6706 Map Bescheid in BescheidMapper.toGetBescheidResponse()
......@@ -73,7 +73,7 @@ class BescheidMapperTest {
void shouldMapAllFields() {
var result = mapper.toBescheid(BescheidTestFactory.create());
assertThat(result).usingRecursiveComparison().isEqualTo(GrpcBescheidWithoutDocumentTestFactory.create());
assertThat(result).isEqualTo(GrpcBescheidWithoutDocumentTestFactory.create());
}
}
......@@ -84,7 +84,7 @@ class BescheidMapperTest {
void shouldMapAllFields() {
var result = mapper.fromBescheidManagerConfig(BescheidManagerConfigTestFactory.create());
assertThat(result).usingRecursiveComparison().isEqualTo(GrpcBescheidManagerConfigResponseTestFactory.create());
assertThat(result).isEqualTo(GrpcBescheidManagerConfigResponseTestFactory.create());
}
}
......@@ -143,7 +143,7 @@ class BescheidMapperTest {
void shouldMap() {
var response = mapper.toGetBescheidResponse(BescheidTestFactory.create());
assertThat(response).usingRecursiveComparison().isEqualTo(GrpcGetBescheidResponseTestFactory.create());
assertThat(response).isEqualTo(GrpcGetBescheidResponseTestFactory.create());
}
}
......@@ -155,7 +155,7 @@ class BescheidMapperTest {
void shouldMap() {
var response = mapper.toGetBescheidDraftResponse(BescheidTestFactory.create());
assertThat(response).usingRecursiveComparison().isEqualTo(GrpcGetBescheidDraftResponseTestFactory.create());
assertThat(response).isEqualTo(GrpcGetBescheidDraftResponseTestFactory.create());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment