Skip to content

Commit aa0ccae

Browse files
committed
add tearDown
1 parent f891119 commit aa0ccae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/Units/Domain/SilentlyDiscardingTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ protected function setUp(): void
2626
Model::preventSilentlyDiscardingAttributes();
2727
}
2828

29+
protected function tearDown(): void
30+
{
31+
parent::tearDown();
32+
Model::preventSilentlyDiscardingAttributes(false);
33+
}
34+
2935
public function testDepositSilentlyDiscarding(): void
3036
{
3137
/** @var Buyer $buyer */

0 commit comments

Comments
 (0)