fix IT where the modified DN leads to a new entryUUID

This commit is contained in:
Konrad Windszus
2016-10-26 11:13:54 +02:00
committed by Rob Winch
parent dd73c9c0a2
commit 4d593dcf85

View File

@@ -171,6 +171,7 @@ public class LdapTemplateOdmWithDnAnnotationsITest extends AbstractLdapTemplateI
assertThat(person.getCountry()).isEqualTo("Norway");
assertThat(person.getDesc().get(0)).isEqualTo("Sweden, Company1, Some Person3");
assertThat(person.getTelephoneNumber()).isEqualTo("+46 555-123654");
assertThat(person.getEntryUuid()).isEqualTo(entryUuid);
assertThat(person.getEntryUuid()).describedAs("The operational attribute 'entryUUID' was not set").isNotEmpty();
assertThat(person.getEntryUuid()).isNotEqualTo(entryUuid);
}
}