Description
Test doesn't respect value of nodename1 and nodetype configuration properties.
Proposal: create property under testnode instead of testrootnode.
— SetPropertyValueTest.java (revision 422074)
+++ SetPropertyValueTest.java (working copy)
@@ -374,11 +374,11 @@
- the value array by removing all null values
*/
public void testCompactValueArrayWithNulls() throws Exception { - testRootNode.setProperty(propertyName2, vArrayWithNulls); + testNode.setProperty(propertyName2, vArrayWithNulls); superuser.save(); assertEquals("Node.setProperty(String, valueArrayWithNulls[]) did not compact the value array by removing the null values", 2, - testRootNode.getProperty(propertyName2).getValues().length); + testNode.getProperty(propertyName2).getValues().length); }