mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:54:03 +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();
|
||||
dispatch_now(new CreateDatabase($tenant));
|
||||
dispatch_sync(new CreateDatabase($tenant));
|
||||
|
||||
$this->assertFalse($tenant->database()->manager()->databaseExists(
|
||||
$tenant->database()->getName()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue