save(); $tenant2 = Tenant::new()->save(); $this->artisan('user:add')->assertExitCode(1); tenancy()->initializeTenancy($tenant1); $this->assertNotEmpty(User::all()); tenancy()->endTenancy() tenancy()->initializeTenancy($tenant2); $this->assertNotEmpty(User::all()); tenancy()->endTenancy() } }