mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:34:04 +00:00
use dispatch_sync instead of dispatch_now
This commit is contained in:
parent
2e6b824889
commit
02f404d4cb
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class EventListenerTest extends TestCase
|
||||||
});
|
});
|
||||||
|
|
||||||
$tenant = Tenant::create();
|
$tenant = Tenant::create();
|
||||||
dispatch_now(new CreateDatabase($tenant));
|
dispatch_sync(new CreateDatabase($tenant));
|
||||||
|
|
||||||
$this->assertFalse($tenant->database()->manager()->databaseExists(
|
$this->assertFalse($tenant->database()->manager()->databaseExists(
|
||||||
$tenant->database()->getName()
|
$tenant->database()->getName()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue