From 75af129d8d13e18f2beddbc5db31f247765d73ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Kr=C3=A4hemann?= <joel.kraehemann@frentix.com> Date: Mon, 22 Oct 2012 17:02:00 +0200 Subject: [PATCH] OO-302: fixed test by removing unnecessary break in for loop. --- .../java/org/olat/course/nodes/feed/FunctionalBlogTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/org/olat/course/nodes/feed/FunctionalBlogTest.java b/src/test/java/org/olat/course/nodes/feed/FunctionalBlogTest.java index d69c055e3f1..fc86ae4c2b3 100644 --- a/src/test/java/org/olat/course/nodes/feed/FunctionalBlogTest.java +++ b/src/test/java/org/olat/course/nodes/feed/FunctionalBlogTest.java @@ -271,7 +271,6 @@ public class FunctionalBlogTest { for(String currentTitle: titles){ if(student0.isTextPresent(currentTitle)){ foundTitlesInMonth[j] = true; - break; } j++; @@ -315,8 +314,7 @@ public class FunctionalBlogTest { for(String currentTitle: titles){ if(student0.isTextPresent(currentTitle)){ - foundTitlesInMonth[j] = true; - break; + foundTitlesInYear[j] = true; } j++; -- GitLab