Fix unit-tests after changing default validateSchema value to true in the LDIFImportConfig class.
| | |
| | | */ |
| | | public static List<Entry> entriesFromLdifString(String ldif) throws Exception { |
| | | LDIFImportConfig ldifImportConfig = new LDIFImportConfig(new StringReader(ldif)); |
| | | ldifImportConfig.setValidateSchema(false); |
| | | LDIFReader reader = new LDIFReader(ldifImportConfig); |
| | | |
| | | List<Entry> entries = new ArrayList<Entry>(); |
| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012 ForgeRock AS |
| | | */ |
| | | package org.opends.server.util; |
| | | |
| | |
| | | { |
| | | "", |
| | | "objectclass", "top", |
| | | "description", "root DSE" |
| | | "objectClass", "ds-root-dse", |
| | | }, |
| | | }; |
| | | |