Skip to content

Commit

Permalink
add $this->resetSingletonInstances = true;
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasnorre committed Oct 15, 2024
1 parent 61aba24 commit 091e4c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/Unit/Helper/SystemSleeperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
#[CoversClass(SystemSleeper::class)]
class SystemSleeperTest extends UnitTestCase
{


public function testSystemSleeper(): void
{
$this->resetSingletonInstances = true;

$startTime = date('s');
$subject = new SystemSleeper();
$subject->sleep(1);
Expand Down

0 comments on commit 091e4c9

Please sign in to comment.