Skip to content

Commit f48a8a1

Browse files
committed
We only return 2 occurrences
1 parent da2d216 commit f48a8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/WhenCoreTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ public function testGenerateOccurrencesErrorIgnored()
695695
$test->RFC5545_COMPLIANT = When::IGNORE;
696696

697697
$test->startDate(new DateTime("19970905T090000"))
698-
->rrule("FREQ=MONTHLY;COUNT=3;BYDAY=TU,WE,TH;BYSETPOS=3")
698+
->rrule("FREQ=MONTHLY;COUNT=2;BYDAY=TU,WE,TH;BYSETPOS=3")
699699
->generateOccurrences();
700700

701701
$occurrences = $test->occurrences;

0 commit comments

Comments
 (0)