From 76d1a8ffedf79e69b7769746b3f48d52667fa0f5 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 10 Jan 2023 00:20:42 +0000 Subject: [PATCH] fix: ensures view are boot --- src/Console/Thanks.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Console/Thanks.php b/src/Console/Thanks.php index 10583b41..cd149a0d 100644 --- a/src/Console/Thanks.php +++ b/src/Console/Thanks.php @@ -4,6 +4,7 @@ declare(strict_types=1); namespace Pest\Console; +use Pest\Bootstrappers\BootView; use Pest\Support\View; use Symfony\Component\Console\Helper\SymfonyQuestionHelper; use Symfony\Component\Console\Input\ArrayInput; @@ -39,6 +40,9 @@ final class Thanks */ public function __invoke(): void { + $bootstrapper = new BootView($this->output); + $bootstrapper->boot(); + $wantsToSupport = (new SymfonyQuestionHelper())->ask( new ArrayInput([]), $this->output,