Skip to content

Commit

Permalink
add tearDown
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Sep 29, 2022
1 parent f891119 commit aa0ccae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Units/Domain/SilentlyDiscardingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit aa0ccae

Please sign in to comment.