Author: michiel Date: 2010-03-23 19:05:29 +0100 (Tue, 23 Mar 2010) New Revision: 41584
Modified: mmbase/trunk/core/src/test/java/org/mmbase/bridge/util/QueriesTest.java Log: this restriction was removed, Step#getNodes now behaves the same before and after the commit Modified: mmbase/trunk/core/src/test/java/org/mmbase/bridge/util/QueriesTest.java =================================================================== --- mmbase/trunk/core/src/test/java/org/mmbase/bridge/util/QueriesTest.java 2010-03-23 18:04:20 UTC (rev 41583) +++ mmbase/trunk/core/src/test/java/org/mmbase/bridge/util/QueriesTest.java 2010-03-23 18:05:29 UTC (rev 41584) @@ -131,7 +131,8 @@ assertEquals("news", q.getSteps().get(0).getTableName()); // createNodeQuery on a new node will leave the query unconstraint - assertNull(q.getSteps().get(0).getNodes()); + assertEquals(1, q.getSteps().get(0).getNodes().size()); + assertTrue(q.getSteps().get(0).getNodes().contains(node.getNumber())); } node.commit(); { _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs