add missing tests

This commit is contained in:
Claudia Agache
2020-08-19 17:37:36 +03:00
parent 4ddd1c6ab2
commit b79f128aa9
3 changed files with 10 additions and 2 deletions

View File

@@ -62,4 +62,7 @@ public class FilePlanComponentAspects
// WORM store selector aspect
public static final String ASPECT_STORE_SELECTOR = "cm:storeSelector";
// WORM Lock aspect
public static final String ASPECT_WORM_LOCK = "rme:wormLock";
}

View File

@@ -133,6 +133,7 @@ public class FilePlanComponentFields
public static final String CONTENT = "content";
public static final String PATH = "path";
/** CONTENT STORE property */
//public static final String PROPERTIES_STORE = "cm:storeName";
public static final String PROPERTIES_STORE = "rma:wormStore";
public static final String PROPERTIES_STORE = "cm:storeName";
/** WORM Unlock Date */
public static final String PROPERTIES_WORM_UNLOCK_DATE = "rme:wormUnlockDate";
}

View File

@@ -75,6 +75,7 @@ import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanCo
import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_VERSIONED_NODEREF;
import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_VERSION_LABEL;
import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_VERSION_TYPE;
import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_WORM_UNLOCK_DATE;
import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_X_RESOLUTION;
import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_Y_RESOLUTION;
@@ -261,4 +262,7 @@ public class RecordProperties extends TestModel
@JsonProperty (PROPERTIES_STORE)
private String store;
@JsonProperty(PROPERTIES_WORM_UNLOCK_DATE)
private String wormUnlockDate;
}