From 35d7fca8f9b75eac05386fed97944588bbadec1c Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Wed, 25 Sep 2024 17:24:03 +0200 Subject: [PATCH] add missing namePrefix to assertion --- .../net/hostsharing/hsadminng/rbac/test/MapperUnitTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/rbac/test/MapperUnitTest.java b/src/test/java/net/hostsharing/hsadminng/rbac/test/MapperUnitTest.java index c2721246..fa8823b3 100644 --- a/src/test/java/net/hostsharing/hsadminng/rbac/test/MapperUnitTest.java +++ b/src/test/java/net/hostsharing/hsadminng/rbac/test/MapperUnitTest.java @@ -88,7 +88,7 @@ class MapperUnitTest { ); assertThat(exception).isInstanceOf(ValidationException.class) - .hasMessage("Unable to find SubTargetBean1 by uuid: " + GIVEN_UUID); + .hasMessage("Unable to find SubTargetBean1 by s1.uuid: " + GIVEN_UUID); } @Test @@ -101,7 +101,7 @@ class MapperUnitTest { ); assertThat(exception).isInstanceOf(ValidationException.class) - .hasMessage("Unable to find SomeDisplayName by uuid: " + GIVEN_UUID); + .hasMessage("Unable to find SomeDisplayName by s2.uuid: " + GIVEN_UUID); } @Test