From 8e6dad70be8b98e8b1c33bf27710cbf0c893f9cd Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Wed, 28 Sep 2022 20:42:39 +0300 Subject: [PATCH] add tearDown --- tests/Units/Domain/SilentlyDiscardingTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/Units/Domain/SilentlyDiscardingTest.php b/tests/Units/Domain/SilentlyDiscardingTest.php index 13cb927b9..f17578c91 100644 --- a/tests/Units/Domain/SilentlyDiscardingTest.php +++ b/tests/Units/Domain/SilentlyDiscardingTest.php @@ -26,6 +26,12 @@ protected function setUp(): void Model::preventSilentlyDiscardingAttributes(); } + protected function tearDown(): void + { + parent::tearDown(); + Model::preventSilentlyDiscardingAttributes(false); + } + public function testDepositSilentlyDiscarding(): void { /** @var Buyer $buyer */