From 29634dda846c41e7dc398197ed4302f4f883c45c Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Wed, 27 Jul 2022 04:35:55 +0500 Subject: [PATCH] added `$this->mockConsoleOutput` (#907) --- 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,