From 04b0d767f03fb0b0aca2cd4f135634c0d4e3f74a Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Wed, 29 Nov 2023 12:14:07 +0100 Subject: [PATCH] Remove deprecated `zeiterfassung.tenant.registration.rabbitmq.routing-key-deleted-two` --- ...ntRegistrationRabbitmqConfigurationProperties.java | 5 ----- ...gistrationRabbitmqConfigurationPropertiesTest.java | 11 ----------- 2 files changed, 16 deletions(-) diff --git a/src/main/java/de/focusshift/zeiterfassung/tenancy/registration/messaging/OidcClientRegistrationRabbitmqConfigurationProperties.java b/src/main/java/de/focusshift/zeiterfassung/tenancy/registration/messaging/OidcClientRegistrationRabbitmqConfigurationProperties.java index 23e5f2dfe..c9130fa91 100644 --- a/src/main/java/de/focusshift/zeiterfassung/tenancy/registration/messaging/OidcClientRegistrationRabbitmqConfigurationProperties.java +++ b/src/main/java/de/focusshift/zeiterfassung/tenancy/registration/messaging/OidcClientRegistrationRabbitmqConfigurationProperties.java @@ -58,11 +58,6 @@ public String getRoutingKeyDeletedTemplate() { return routingKeyDeletedTemplate; } - @Deprecated - public void setRoutingKeyDeletedTwo(String routingKeyDeletedTemplate) { - this.routingKeyDeletedTemplate = routingKeyDeletedTemplate; - } - public void setRoutingKeyDeletedTemplate(String routingKeyDeletedTemplate) { this.routingKeyDeletedTemplate = routingKeyDeletedTemplate; } diff --git a/src/test/java/de/focusshift/zeiterfassung/tenancy/registration/messaging/OidcClientRegistrationRabbitmqConfigurationPropertiesTest.java b/src/test/java/de/focusshift/zeiterfassung/tenancy/registration/messaging/OidcClientRegistrationRabbitmqConfigurationPropertiesTest.java index 33aacacd9..e012dce10 100644 --- a/src/test/java/de/focusshift/zeiterfassung/tenancy/registration/messaging/OidcClientRegistrationRabbitmqConfigurationPropertiesTest.java +++ b/src/test/java/de/focusshift/zeiterfassung/tenancy/registration/messaging/OidcClientRegistrationRabbitmqConfigurationPropertiesTest.java @@ -47,17 +47,6 @@ void ensureRoutingKeyCreatedTemplateCannotBeEmptyOrNull(String routingKeyCreated assertThat(violations.size()).isOne(); } - @ParameterizedTest - @ValueSource(strings = {""}) - @NullSource - void ensureRoutingKeyDeletedTwoCannotBeEmptyOrNull(String routingKeyDeletedTwo) { - final OidcClientRegistrationRabbitmqConfigurationProperties sut = new OidcClientRegistrationRabbitmqConfigurationProperties(); - sut.setRoutingKeyDeletedTwo(routingKeyDeletedTwo); - final Set> violations = validator.validate(sut); - - assertThat(violations.size()).isOne(); - } - @ParameterizedTest @ValueSource(strings = {""}) @NullSource