From d7e0a33f16f6ec12e548778a8cffc7b417ecac01 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Mon, 8 Apr 2024 12:35:00 +0200 Subject: [PATCH] fix(impl): [#199] remove obsolete code --- .../validators/BusinessPartnerNumberListValidatorTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/validators/BusinessPartnerNumberListValidatorTest.java b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/validators/BusinessPartnerNumberListValidatorTest.java index 018f9da437..9c510c3fe7 100644 --- a/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/validators/BusinessPartnerNumberListValidatorTest.java +++ b/irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policystore/validators/BusinessPartnerNumberListValidatorTest.java @@ -71,8 +71,6 @@ void withValidListOfStrings() { void withListContainingInvalidBPN() { List invalidList = Arrays.asList(VALID_BPN_1, "INVALID_BPN", VALID_BPN_2); assertThat(validator.isValid(invalidList, contextMock)).isFalse(); - // verify(contextMock).buildConstraintViolationWithTemplate( - //// startsWith("Element at index 1 does not match the pattern")); verify(contextMock).buildConstraintViolationWithTemplate(messageCaptor.capture()); assertThat(messageCaptor.getValue()).contains("BPN").contains(" index 1 ").contains("invalid"); }