mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-05-04 18:08:46 +03:00
Fix Tests race conditions
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user