1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 21:34:03 +00:00

added $this->mockConsoleOutput

This commit is contained in:
Abrar Ahmad 2022-07-26 12:38:02 +05:00
parent 233a1222bf
commit e105b70d93
2 changed files with 4 additions and 0 deletions

View file

@ -23,6 +23,8 @@ use Stancl\Tenancy\Bootstrappers\DatabaseTenancyBootstrapper;
use Stancl\Tenancy\Bootstrappers\FilesystemTenancyBootstrapper; use Stancl\Tenancy\Bootstrappers\FilesystemTenancyBootstrapper;
beforeEach(function () { beforeEach(function () {
$this->mockConsoleOutput = false;
Event::listen( Event::listen(
TenantCreated::class, TenantCreated::class,
JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) { JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) {

View file

@ -27,6 +27,8 @@ use Stancl\Tenancy\Bootstrappers\QueueTenancyBootstrapper;
use Stancl\Tenancy\Bootstrappers\DatabaseTenancyBootstrapper; use Stancl\Tenancy\Bootstrappers\DatabaseTenancyBootstrapper;
beforeEach(function () { beforeEach(function () {
$this->mockConsoleOutput = false;
config([ config([
'tenancy.bootstrappers' => [ 'tenancy.bootstrappers' => [
QueueTenancyBootstrapper::class, QueueTenancyBootstrapper::class,