Skip to content

Commit

Permalink
Fixed a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Oct 27, 2016
1 parent 1b9f611 commit 8be7430
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -31,6 +31,7 @@
import javax.xml.namespace.QName;

import com.evolveum.midpoint.prism.*;
import com.evolveum.midpoint.schema.constants.SchemaConstants;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.annotation.DirtiesContext.ClassMode;
import org.springframework.test.context.ContextConfiguration;
Expand Down Expand Up @@ -820,9 +821,9 @@ public void test850ModifyConfiguration() throws Exception {
Task task = taskManager.createTaskInstance(TestResources.class.getName() + "." + TEST_NAME);
OperationResult result = task.getResult();

ItemPath propPath = new ItemPath(ResourceType.F_CONNECTOR_CONFIGURATION,
ItemPath propPath = new ItemPath(ResourceType.F_CONNECTOR_CONFIGURATION, SchemaConstants.ICF_CONFIGURATION_PROPERTIES,
IntegrationTestTools.RESOURCE_DUMMY_CONFIGURATION_USELESS_STRING_ELEMENT_NAME);
PrismPropertyDefinition<String> propDef = new PrismPropertyDefinitionImpl<String>(IntegrationTestTools.RESOURCE_DUMMY_CONFIGURATION_USELESS_STRING_ELEMENT_NAME,
PrismPropertyDefinition<String> propDef = new PrismPropertyDefinitionImpl<>(IntegrationTestTools.RESOURCE_DUMMY_CONFIGURATION_USELESS_STRING_ELEMENT_NAME,
DOMUtil.XSD_STRING, prismContext);
PropertyDelta<String> propDelta = PropertyDelta.createModificationReplaceProperty(propPath, propDef, "whatever wherever");
ObjectDelta<ResourceType> resourceDelta = ObjectDelta.createModifyDelta(RESOURCE_DUMMY_OID, propDelta, ResourceType.class, prismContext);
Expand Down

0 comments on commit 8be7430

Please sign in to comment.