Summer Sale! All accounts are 50% off this week.

untymage's avatar

Do i need to use Mockery::close(); ?

I see a lot of laravel packages uses Mockery::close(); in their test, But my code works without it, Why it necessary ?

protected function tearDown(): void
{
    Mockery::close();
}
0 likes
1 reply

Please or to participate in this conversation.