Commits

Anonymous committed 436d45f

Another 3->TriggerUtils.TUESDAY, and rolling one back because it was MONTHLY. QUARTZ-549.

git-svn-id: http://svn.opensymphony.com/svn/quartz/branches/quartz_1-6@72969f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (1)

src/test/java/org/quartz/NthIncludedDayTriggerTest.java

         NthIncludedDayTrigger weeklyTrigger = new NthIncludedDayTrigger();
         weeklyTrigger.setIntervalType(NthIncludedDayTrigger.INTERVAL_TYPE_WEEKLY);
         weeklyTrigger.setStartTime(startCalendar.getTime());
-        weeklyTrigger.setN(3);
+        weeklyTrigger.setN(TriggerUtils.TUESDAY);
         weeklyTrigger.setFireAtTime("14:35:15");
 
         targetCalendar.set(2005, Calendar.JUNE, 7, 14, 35, 15);
         
         NthIncludedDayTrigger t = new NthIncludedDayTrigger("name", "group");
         t.setIntervalType(NthIncludedDayTrigger.INTERVAL_TYPE_MONTHLY);
-        t.setN(TriggerUtils.TUESDAY);
+        t.setN(3);
         t.setStartTime(startTime.getTime());
         t.setFireAtTime("12:15");
         t.setNextFireCutoffInterval(13);