芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/public_html/tests/Feature/BrowserSessionsTest.php
<?php namespace Tests\Feature; use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Laravel\Jetstream\Http\Livewire\LogoutOtherBrowserSessionsForm; use Livewire\Livewire; use Tests\TestCase; class BrowserSessionsTest extends TestCase { use RefreshDatabase; public function test_other_browser_sessions_can_be_logged_out(): void { $this->actingAs($user = User::factory()->create()); Livewire::test(LogoutOtherBrowserSessionsForm::class) ->set('password', 'password') ->call('logoutOtherBrowserSessions') ->assertSuccessful(); } }
Page is not found
Oops! Page not found.
Sorry, an error has occured, Requested page not found!
Back To Homepage