mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:44:02 +00:00
revert Tenancy changes, fix failing tests
This commit is contained in:
parent
02faf2407f
commit
5f41647a6b
2 changed files with 8 additions and 6 deletions
|
|
@ -17,16 +17,16 @@
|
|||
"require": {
|
||||
"php": "^8.1",
|
||||
"ext-json": "*",
|
||||
"illuminate/support": "^8.0|^9.0",
|
||||
"illuminate/support": "^9.0",
|
||||
"facade/ignition-contracts": "^1.0",
|
||||
"ramsey/uuid": "^4.0",
|
||||
"stancl/jobpipeline": "^1.0",
|
||||
"stancl/virtualcolumn": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/framework": "^8.0|^9.0",
|
||||
"orchestra/testbench": "^6.0|^7.0",
|
||||
"league/flysystem-aws-s3-v3": "^1.0|^3.0",
|
||||
"laravel/framework": "^9.0",
|
||||
"orchestra/testbench": "^7.0",
|
||||
"league/flysystem-aws-s3-v3": "^3.0",
|
||||
"doctrine/dbal": "^2.10",
|
||||
"spatie/valuestore": "^1.2.5",
|
||||
"pestphp/pest": "^1.21"
|
||||
|
|
|
|||
|
|
@ -68,11 +68,13 @@ class Tenancy
|
|||
|
||||
event(new Events\EndingTenancy($this));
|
||||
|
||||
// todo find a way to refactor these two methods
|
||||
|
||||
event(new Events\TenancyEnded($this));
|
||||
|
||||
$this->tenant = null;
|
||||
|
||||
$this->initialized = false;
|
||||
|
||||
event(new Events\TenancyEnded($this));
|
||||
}
|
||||
|
||||
/** @return TenancyBootstrapper[] */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue