From 553d6a1b86abf4d464642fbcff70976b00094a66 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 8 Sep 2020 16:07:24 +0200 Subject: fix some broken jUnit tests --- .../at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilder.java | 2 +- .../gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilderTest.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'eaaf_core/src') diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilder.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilder.java index 81d50d76..8e827303 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilder.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilder.java @@ -34,13 +34,13 @@ import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingException; import org.apache.commons.lang3.StringUtils; -import org.apache.commons.lang3.tuple.Pair; import org.springframework.lang.Nullable; import org.springframework.util.Assert; import org.springframework.util.Base64Utils; import at.gv.egiz.eaaf.core.api.data.EaafConstants; import at.gv.egiz.eaaf.core.exceptions.EaafBuilderException; +import at.gv.egiz.eaaf.core.impl.data.Pair; import lombok.extern.slf4j.Slf4j; diff --git a/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilderTest.java b/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilderTest.java index df431186..889a62ee 100644 --- a/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilderTest.java +++ b/eaaf_core/src/test/java/at/gv/egiz/eaaf/core/impl/idp/auth/builder/BpkBuilderTest.java @@ -141,7 +141,7 @@ public class BpkBuilderTest { BpkBuilder.generateAreaSpecificPersonIdentifier(null, EaafConstants.URN_PREFIX_CDID + "AA"); } catch (EaafBuilderException e) { - Assert.assertEquals("Wrong errorCode", "builder.00", e.getErrorId()); + Assert.assertEquals("Wrong errorCode", "builder.33", e.getErrorId()); } } @@ -151,7 +151,7 @@ public class BpkBuilderTest { BpkBuilder.generateAreaSpecificPersonIdentifier(BASEID, null); } catch (EaafBuilderException e) { - Assert.assertEquals("Wrong errorCode", "builder.00", e.getErrorId()); + Assert.assertEquals("Wrong errorCode", "builder.33", e.getErrorId()); } } @@ -162,7 +162,7 @@ public class BpkBuilderTest { null, EaafConstants.URN_PREFIX_CDID + "AA"); } catch (EaafBuilderException e) { - Assert.assertEquals("Wrong errorCode", "builder.00", e.getErrorId()); + Assert.assertEquals("Wrong errorCode", "builder.33", e.getErrorId()); } } @@ -173,7 +173,7 @@ public class BpkBuilderTest { EaafConstants.URN_PREFIX_CDID + "BB", EaafConstants.URN_PREFIX_CDID + "AA"); } catch (EaafBuilderException e) { - Assert.assertEquals("Wrong errorCode", "builder.00", e.getErrorId()); + Assert.assertEquals("Wrong errorCode", "builder.33", e.getErrorId()); } } -- cgit v1.2.3