mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 01:44:04 +00:00
Get rid of tenant DB manager connection config
This commit is contained in:
parent
2fedd5ce88
commit
15a7e52208
11 changed files with 58 additions and 41 deletions
|
|
@ -22,7 +22,7 @@ use Stancl\Tenancy\Events\SyncedResourceSaved;
|
|||
use Stancl\Tenancy\Events\TenancyEnded;
|
||||
use Stancl\Tenancy\Events\TenancyInitialized;
|
||||
use Stancl\Tenancy\Events\TenantCreated;
|
||||
use Stancl\Tenancy\Exceptions\ModelNotSyncMaster;
|
||||
use Stancl\Tenancy\Exceptions\ModelNotSyncMasterException;
|
||||
use Stancl\Tenancy\Jobs\CreateDatabase;
|
||||
use Stancl\Tenancy\Bootstrappers\DatabaseTenancyBootstrapper;
|
||||
use Stancl\Tenancy\Tests\Etc\Tenant;
|
||||
|
|
@ -187,7 +187,7 @@ class ResourceSyncingTest extends TestCase
|
|||
tenancy()->end();
|
||||
$this->assertFalse(tenancy()->initialized);
|
||||
|
||||
$this->expectException(ModelNotSyncMaster::class);
|
||||
$this->expectException(ModelNotSyncMasterException::class);
|
||||
ResourceUser::first()->update(['role' => 'foobar']);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue