Skip to content

Commit

Permalink
Carbon v3 support (#1380)
Browse files Browse the repository at this point in the history
* Carbon v3 support

* wip

* wip
  • Loading branch information
driesvints authored Jan 30, 2024
1 parent 55422ae commit 8618d65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"illuminate/contracts": "^8.17|^9.0|^10.0|^11.0",
"illuminate/queue": "^8.17|^9.0|^10.0|^11.0",
"illuminate/support": "^8.17|^9.0|^10.0|^11.0",
"nesbot/carbon": "^2.17",
"nesbot/carbon": "^2.17|^3.0",
"ramsey/uuid": "^4.0",
"symfony/process": "^5.0|^6.0|^7.0",
"symfony/error-handler": "^5.0|^6.0|^7.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/SupervisorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ public function test_auto_scaler_is_not_called_on_loop_during_cooldown()
$supervisor->lastAutoScaled = $time;
CarbonImmutable::setTestNow($time->addSeconds($supervisor->options->balanceCooldown + 0.01));
$supervisor->loop();
$this->assertTrue($supervisor->lastAutoScaled->eq($time->addSeconds($supervisor->options->balanceCooldown)));
$this->assertTrue($supervisor->lastAutoScaled->eq($time->addSeconds($supervisor->options->balanceCooldown + 0.01)));
}

public function test_supervisor_with_duplicate_name_cant_be_started()
Expand Down

0 comments on commit 8618d65

Please sign in to comment.