Skip to content

Commit

Permalink
test: cleared mime types mock before each run
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-perri committed Jan 30, 2025
1 parent f343b98 commit b1d3b64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Unit/RuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected function setUp(): void
parent::setUp();

Password::$defaultCallback = null;
MimeTypes::setDefault(new MimeTypes);
}

#[DataProvider('ruleDataProvider')]
Expand Down

0 comments on commit b1d3b64

Please sign in to comment.