From e105b70d93ffce81831cc427636b58b6cf57a159 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Tue, 26 Jul 2022 12:38:02 +0500 Subject: [PATCH] added `$this->mockConsoleOutput` --- tests/BootstrapperTest.php | 2 ++ tests/QueueTest.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/BootstrapperTest.php b/tests/BootstrapperTest.php index 8f5407bc..96afbc83 100644 --- a/tests/BootstrapperTest.php +++ b/tests/BootstrapperTest.php @@ -23,6 +23,8 @@ use Stancl\Tenancy\Bootstrappers\DatabaseTenancyBootstrapper; use Stancl\Tenancy\Bootstrappers\FilesystemTenancyBootstrapper; beforeEach(function () { + $this->mockConsoleOutput = false; + Event::listen( TenantCreated::class, JobPipeline::make([CreateDatabase::class])->send(function (TenantCreated $event) { diff --git a/tests/QueueTest.php b/tests/QueueTest.php index 938af39f..c1fa24b8 100644 --- a/tests/QueueTest.php +++ b/tests/QueueTest.php @@ -27,6 +27,8 @@ use Stancl\Tenancy\Bootstrappers\QueueTenancyBootstrapper; use Stancl\Tenancy\Bootstrappers\DatabaseTenancyBootstrapper; beforeEach(function () { + $this->mockConsoleOutput = false; + config([ 'tenancy.bootstrappers' => [ QueueTenancyBootstrapper::class,