add missing namePrefix to assertion

This commit is contained in:
Michael Hoennig 2024-09-25 17:24:03 +02:00
parent d910b801cf
commit 35d7fca8f9

View File

@ -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