Polish
See gh-11783
This commit is contained in:
committed by
Stephane Nicoll
parent
fe7d7e2fc9
commit
64c324612e
@@ -62,7 +62,7 @@ public class DataLdapTestIntegrationTests {
|
||||
public void testRepository() {
|
||||
LdapQuery ldapQuery = LdapQueryBuilder.query().where("cn").is("Bob Smith");
|
||||
Optional<ExampleEntry> entry = this.exampleRepository.findOne(ldapQuery);
|
||||
assertThat(entry.isPresent());
|
||||
assertThat(entry.isPresent()).isTrue();
|
||||
assertThat(entry.get().getDn()).isEqualTo(LdapUtils
|
||||
.newLdapName("cn=Bob Smith,ou=company1,c=Sweden,dc=spring,dc=org"));
|
||||
assertThat(this.ldapTemplate.findOne(ldapQuery, ExampleEntry.class).getDn())
|
||||
|
||||
Reference in New Issue
Block a user