1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:34:03 +00:00

TenantDatabaseManagerTest fully passes now

This commit is contained in:
Samuel Štancl 2019-09-17 18:57:19 +02:00
parent 5e9b421aa6
commit 524530c8d5
8 changed files with 28 additions and 24 deletions

View file

@ -174,7 +174,7 @@ class Tenant implements ArrayAccess
public function delete(): self
{
if ($this->persisted) {
$this->tenantManager->deleteTenant($this);
$this->manager->deleteTenant($this);
$this->persisted = false;
}