Author: christian.bauer(a)jboss.com
Date: 2008-02-27 03:41:59 -0500 (Wed, 27 Feb 2008)
New Revision: 7490
Modified:
trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/editing/TrashTests.java
Log:
Fix test
Modified: trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/editing/TrashTests.java
===================================================================
---
trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/editing/TrashTests.java 2008-02-27
08:35:11 UTC (rev 7489)
+++
trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/editing/TrashTests.java 2008-02-27
08:41:59 UTC (rev 7490)
@@ -347,7 +347,7 @@
assert browser.getChildNodes().size() == 3;
boolean found = false;
- for (WikiNode node : browser.getChildNodes()) found =
node.getId().equals(9l);
+ for (WikiNode node : browser.getChildNodes()) if
(node.getId().equals(9l)) found = true;
assert found;
DocumentHome docHome = (DocumentHome)getInstance(DocumentHome.class);