mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-6904: Wrong behaviour when overriding a constraint in content model
Added some detail to test assertions. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@37818 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -201,7 +201,7 @@ public class RepoDictionaryDAOTest extends TestCase
|
|||||||
|
|
||||||
QName model = QName.createQName(TEST_URL, "dictionarydaotest");
|
QName model = QName.createQName(TEST_URL, "dictionarydaotest");
|
||||||
Collection<ConstraintDefinition> modelConstraints = service.getConstraints(model);
|
Collection<ConstraintDefinition> modelConstraints = service.getConstraints(model);
|
||||||
assertEquals(21, modelConstraints.size()); // 10 + 11
|
assertEquals(23, modelConstraints.size()); // 10 + 7 + 6
|
||||||
|
|
||||||
QName conRegExp1QName = QName.createQName(TEST_URL, "regex1");
|
QName conRegExp1QName = QName.createQName(TEST_URL, "regex1");
|
||||||
boolean found1 = false;
|
boolean found1 = false;
|
||||||
|
Reference in New Issue
Block a user