Fix Tests race conditions

This commit is contained in:
JonatanRek
2026-04-07 19:29:13 +02:00
parent 08481b0372
commit 25c5170da2

View File

@@ -6,6 +6,12 @@ use Tests\TestCase;
class UserImpersonationTest extends TestCase
{
protected function tearDown(): void
{
session()->forget('impersonate');
parent::tearDown();
}
public function test_impersonate_button_shown_on_edit_page_for_admin()
{
$viewer = $this->users->viewer();