1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:14:05 +00:00

simplify persistent queue bootstrapper

This commit is contained in:
Samuel Štancl 2025-01-09 18:02:44 +01:00
parent 8f4cd186f9
commit e6f564c47a
2 changed files with 13 additions and 35 deletions

View file

@ -225,7 +225,7 @@ test('the tenant used by the job doesnt change when the current tenant changes',
expect(pest()->valuestore->get('tenant_id'))->toBe('The current tenant id is: ' . $tenant1->getTenantKey());
})->with('queue_bootstrappers');
// todo0 confirm if this should be passing with the persistent bootstrapper
// todo0 false positive -- remove after reproducing original issue
test('tenant connections do not persist after tenant jobs get processed', function (string $bootstrapper) {
withQueueBootstrapper($bootstrapper);
withTenantDatabases();