mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
RM-2604 Fix incorrectly named resources.
Also remove duplication of ids in test where this isn't relevant. Thanks Oana for spotting this. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/caveatmarkdatatype@114361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -69,7 +69,7 @@ public class CaveatDAOFromJSONUnitTest
|
||||
@Test(expected = MalformedConfiguration.class)
|
||||
public void testGetCaveatGroups_missingId()
|
||||
{
|
||||
caveatDAOFromJSON.setConfigLocation("/alfresco/caveat/rm-caveats-missingId.json");
|
||||
caveatDAOFromJSON.setConfigLocation("/alfresco/caveat/rm-caveats-missingMarkId.json");
|
||||
caveatDAOFromJSON.getCaveatGroups();
|
||||
}
|
||||
|
||||
|
@@ -9,13 +9,19 @@
|
||||
{
|
||||
"id" : "TS",
|
||||
"displayLabel" : "rm.caveat.classification.mark.ts"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"displayLabel" : "rm.caveat.classification.mark.s"
|
||||
},
|
||||
"id" : "classification",
|
||||
"displayLabel" : "rm.caveat.classification.group",
|
||||
"description" : "rm.caveat.classification.description",
|
||||
"type" : "HIERARCHICAL",
|
||||
"marks" :
|
||||
[
|
||||
{
|
||||
"id" : "C",
|
||||
"displayLabel" : "rm.caveat.classification.mark.c"
|
||||
"id" : "XYZ",
|
||||
"displayLabel" : "rm.caveat.classification.mark.ts"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@@ -1,28 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id" : "classification",
|
||||
"displayLabel" : "rm.caveat.classification.group",
|
||||
"description" : "rm.caveat.classification.description",
|
||||
"type" : "HIERARCHICAL",
|
||||
"marks" :
|
||||
[
|
||||
{
|
||||
"id" : "TS",
|
||||
"displayLabel" : "rm.caveat.classification.mark.ts"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id" : "classification",
|
||||
"displayLabel" : "rm.caveat.classification.group",
|
||||
"description" : "rm.caveat.classification.description",
|
||||
"type" : "HIERARCHICAL",
|
||||
"marks" :
|
||||
[
|
||||
{
|
||||
"id" : "TS",
|
||||
"displayLabel" : "rm.caveat.classification.mark.ts"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"id" : "classification",
|
||||
"displayLabel" : "rm.caveat.classification.group",
|
||||
"description" : "rm.caveat.classification.description",
|
||||
"type" : "HIERARCHICAL",
|
||||
"marks" :
|
||||
[
|
||||
{
|
||||
"id" : "TS",
|
||||
"displayLabel" : "rm.caveat.classification.mark.ts"
|
||||
},
|
||||
{
|
||||
"displayLabel" : "rm.caveat.classification.mark.s"
|
||||
},
|
||||
{
|
||||
"id" : "C",
|
||||
"displayLabel" : "rm.caveat.classification.mark.c"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user