Upgrade to SpringBoot 3.4.1 and dependencies #147

Merged
hsh-michaelhoennig merged 35 commits from maintenance/use-latest-versions into master 2025-01-15 13:43:29 +01:00
Showing only changes of commit dbc28e398f - Show all commits

View File

@ -13,7 +13,6 @@ import org.springframework.context.annotation.Import;
import jakarta.persistence.PersistenceException; import jakarta.persistence.PersistenceException;
import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletRequest;
import java.util.List; import java.util.List;
import java.util.UUID;
import static net.hostsharing.hsadminng.rbac.test.JpaAttempt.attempt; import static net.hostsharing.hsadminng.rbac.test.JpaAttempt.attempt;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
@ -40,7 +39,7 @@ class TestCustomerRepositoryIntegrationTest extends ContextBasedTest {
// when // when
final var result = attempt(em, () -> { final var result = attempt(em, () -> {
final var newCustomer = new TestCustomerEntity( final var newCustomer = new TestCustomerEntity(
UUID.randomUUID(), 0, "www", 90001, "customer-admin@www.example.com"); null, 0, "www", 90001, "customer-admin@www.example.com");
return testCustomerRepository.save(newCustomer); return testCustomerRepository.save(newCustomer);
}); });
@ -59,7 +58,7 @@ class TestCustomerRepositoryIntegrationTest extends ContextBasedTest {
// when // when
final var result = attempt(em, () -> { final var result = attempt(em, () -> {
final var newCustomer = new TestCustomerEntity( final var newCustomer = new TestCustomerEntity(
UUID.randomUUID(), 0, "www", 90001, "customer-admin@www.example.com"); null, 0, "www", 90001, "customer-admin@www.example.com");
return testCustomerRepository.save(newCustomer); return testCustomerRepository.save(newCustomer);
}); });
@ -78,7 +77,7 @@ class TestCustomerRepositoryIntegrationTest extends ContextBasedTest {
// when // when
final var result = attempt(em, () -> { final var result = attempt(em, () -> {
final var newCustomer = new TestCustomerEntity( final var newCustomer = new TestCustomerEntity(
UUID.randomUUID(), 0, "www", 90001, "customer-admin@www.example.com"); null, 0, "www", 90001, "customer-admin@www.example.com");
return testCustomerRepository.save(newCustomer); return testCustomerRepository.save(newCustomer);
}); });