mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
98967: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) 98775: Merged NESS/5.0.N-2015_03_04 (5.0.2) to 5.0.N (5.0.2) 98751: MNT-13556 : Integrity check allows null values for mandatory properties git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@98983 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -245,6 +245,13 @@ public class IntegrityTest extends TestCase
|
||||
checkIntegrityNoFailure();
|
||||
}
|
||||
|
||||
public void testCreateWithNullMandatoryProperty() throws Exception
|
||||
{
|
||||
allProperties.put(TEST_PROP_TEXT_A, null);
|
||||
NodeRef nodeRef = createNode("abc", TEST_TYPE_WITH_PROPERTIES, allProperties);
|
||||
checkIntegrityExpectFailure("Failed to detect null mandatory properties", 1);
|
||||
}
|
||||
|
||||
public void testCreateWithEmptyMandatoryProperty() throws Exception
|
||||
{
|
||||
allProperties.put(TEST_PROP_TEXT_A, "");
|
||||
|
Reference in New Issue
Block a user