mitigate-hosting-asset-fetching-performance-problems #60

Merged
hsh-michaelhoennig merged 5 commits from mitigate-hosting-asset-fetching-performance-problems into master 2024-06-17 16:46:26 +02:00
Showing only changes of commit 7e608068e6 - Show all commits

View File

@ -231,7 +231,9 @@ class HsBookingItemRepositoryIntegrationTest extends ContextBasedTestWithCleanup
private void assertThatBookingItemActuallyInDatabase(final HsBookingItemEntity saved) {
final var found = bookingItemRepo.findByUuid(saved.getUuid());
assertThat(found).isNotEmpty().get().isNotSameAs(saved)
.extracting(Object::toString).isEqualTo(saved.toString());
.extracting(HsBookingItemEntity::getResources)
.extracting(Object::toString)
.isEqualTo(saved.getResources().toString());
}
}