From 32331db9948037f1832fe1d3811b492804ad7d6c Mon Sep 17 00:00:00 2001 From: Jasper Tey Date: Sun, 17 Nov 2024 00:43:40 -0500 Subject: [PATCH] Add composer reload hook --- tests/TestCase.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index 391821a..1778f44 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -36,6 +36,10 @@ protected function setUp(): void }); parent::setUp(); + + if (in_array(BootsTestApplication::class, class_uses_recursive($this))) { + $this->composerReload(); + } } protected function tearDown(): void