}\r
\r
/**\r
- * @param csid the id of the PersonAuthority\r
+ * @param inAuthority the ID of the parent OrgAuthority\r
+ * @param csid the ID of the Organization\r
* @param client if null, creates a new client\r
* @return\r
*/\r
orgAuthority.setDisplayName(displayName);\r
orgAuthority.setShortIdentifier(shortIdentifier);\r
String refName = createOrgAuthRefName(shortIdentifier, displayName);\r
+ orgAuthority.setRefName(refName);\r
orgAuthority.setVocabType("OrgAuthority");\r
MultipartOutput multipart = new MultipartOutput();\r
OutputPart commonPart = multipart.addPart(orgAuthority, MediaType.APPLICATION_XML_TYPE);\r
@Test(dataProvider="testName", dataProviderClass=AbstractServiceTestImpl.class,
groups = {"read"}, dependsOnGroups = {"create"})
public void readByName(String testName) throws Exception {
- readInternal(testName, null, knownResourceShortIdentifer);
+ readInternal(testName, null, knownResourceShortIdentifer);
}
protected void readInternal(String testName, String CSID, String shortId) {