Build fix

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2009-08-17 09:12:34 +00:00
parent 5f8bfcae7a
commit ba7d22e65d
2 changed files with 9 additions and 7 deletions

View File

@@ -76,7 +76,7 @@ function testGetFormForContentNode()
test.assertEquals("References", referencesField.label);
// check details of name field
test.assertEquals("d:text", nameField.dataType);
test.assertEquals("text", nameField.dataType);
test.assertTrue(nameField.mandatory);
// Expecting cm:name to be single-valued.
test.assertFalse(nameField.repeating, "nameField.repeating was not false.");
@@ -93,7 +93,7 @@ function testGetFormForContentNode()
test.assertNotNull(params["requiresMatch"], "params['requiresMatch'] should not be null.");
// check details of the addressees field
test.assertEquals("d:text", addresseesField.dataType);
test.assertEquals("text", addresseesField.dataType);
test.assertFalse(addresseesField.mandatory, "addresseesField.mandatory was not false.");
// Expecting cm:addressees to be multi-valued.
test.assertTrue(addresseesField.repeating);
@@ -177,7 +177,7 @@ function testGetFormForFolderNode()
test.assertEquals("Contains", containsField.label);
// check details of name field
test.assertEquals("d:text", nameField.dataType);
test.assertEquals("text", nameField.dataType);
test.assertTrue(nameField.mandatory);
// Expecting cm:name to be single-valued.
test.assertFalse(nameField.repeating, "nameField.repeating was not false.");