Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Merge remote-tracking branch 'origin/next' into v5-parallel-inertia-react

Andras Bacsaiae32ab5d7b85
diff --cc tests/Feature/ScheduleOnOneServerTest.php
index 3d31b9139e,49d5926892..43765f0002
--- a/tests/Feature/ScheduleOnOneServerTest.php
+++ b/tests/Feature/ScheduleOnOneServerTest.php
@@@ -49,14 -49,12 +49,24 @@@ it('schedules every production job wit
});
});
+it('runs v5 agent token rotation often enough for the default ttl and refresh threshold', function () {
+ $schedule = app(Schedule::class);
+
+ $event = collect($schedule->events())->first(
+ fn ($e) => str_contains((string) $e->description, 'V5RotateAgentTokensJob')
+ );
+
+ expect($event)->not->toBeNull();
+ expect($event->expression)->toBe('*/15 * * * *');
+ expect($event->onOneServer)->toBeTrue();
+});
++
+ it('does not schedule Stripe subscription reconciliation automatically', function () {
+ $schedule = app(Schedule::class);
+
+ $event = collect($schedule->events())->first(
+ fn ($event) => str_contains((string) $event->description, 'SyncStripeSubscriptions')
+ );
+
+ expect($event)->toBeNull();
+ });