Skip to content

Commit 0697b65

Browse files
committed
Additional asset to validate that the interval has been changed
1 parent 6558e66 commit 0697b65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Timer/AbstractTimerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ public function testAddPeriodicTimerWithZeroIntervalWillBeInvokedWithMaximumAccu
130130
++$i;
131131
});
132132

133+
$this->assertEquals($periodic::MIN_INTERVAL, $periodic->getInterval());
134+
133135
$loop->addTimer(0.001, function () use ($loop, $periodic) {
134136
$loop->cancelTimer($periodic);
135137
});

0 commit comments

Comments
 (0)