File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
tests/Feature/TenantAwareJobs Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 22
33use Illuminate \Contracts \Bus \Dispatcher ;
44use Spatie \Multitenancy \Models \Tenant ;
5- use Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses \TestJob ;
6- use Spatie \Valuestore \Valuestore ;
7- use Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses \CustomTenantAware ;
85use Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses \CustomNotTenantAware ;
9- use Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses \TestJobCustomTenantAware ;
6+ use Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses \CustomTenantAware ;
7+ use Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses \TestJob ;
108use Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses \TestJobCustomNotTenantAware ;
9+ use Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses \TestJobCustomTenantAware ;
10+ use Spatie \Valuestore \Valuestore ;
1111
1212beforeEach (function () {
1313 config ()->set ('multitenancy.queues_are_tenant_aware_by_default ' , false );
6363 expect ($ this ->valuestore ->get ('tenantId ' ))->toBeNull ()
6464 ->and ($ this ->valuestore ->get ('tenantName ' ))->toBeNull ()
6565 ->and ($ this ->valuestore ->has ('tenantIdInContext ' ))->toBeTrue ();
66- });
66+ });
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5-
65namespace Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses ;
76
87interface CustomNotTenantAware
98{
10-
11- }
9+ }
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5-
65namespace Spatie \Multitenancy \Tests \Feature \TenantAwareJobs \TestClasses ;
76
87interface CustomTenantAware
98{
10-
11- }
9+ }
You can’t perform that action at this time.
0 commit comments