mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
17 lines
439 B
PHP
Executable File
17 lines
439 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Models\User;
|
|
use Laravel\Jetstream\Http\Livewire\LogoutOtherBrowserSessionsForm;
|
|
use Livewire\Livewire;
|
|
|
|
test('other browser sessions can be logged out', function (): void {
|
|
$this->actingAs(User::factory()->create());
|
|
|
|
Livewire::test(LogoutOtherBrowserSessionsForm::class)
|
|
->set('password', 'password')
|
|
->call('logoutOtherBrowserSessions')
|
|
->assertSuccessful();
|
|
});
|