Skip to content

Commit a7b748f

Browse files
committed
Fix tests
1 parent 003757e commit a7b748f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/Tags/EventsTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,14 +476,14 @@
476476
->setParameters(['timezone' => 'Europe/Kyiv']);
477477

478478
$days = $this->tag->calendar();
479-
$firstSpanningOccurrence = $days[17]['occurrences'][1];
479+
$firstSpanningOccurrence = $days[17]['occurrences'][0];
480480
$secondSpanningOccurrence = $days[18]['occurrences'][0];
481481

482-
ray($days, $firstSpanningOccurrence);
483482
expect($firstSpanningOccurrence)
484483
->spanning_start->toBeTrue()
485484
->spanning_end->toBeFalse();
486-
// expect($secondSpanningOccurrence)
487-
// ->spanning_start->toBeFalse()
488-
// ->spanning_end->toBeTrue();
485+
486+
expect($secondSpanningOccurrence)
487+
->spanning_start->toBeFalse()
488+
->spanning_end->toBeTrue();
489489
});

0 commit comments

Comments
 (0)