芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/laravel/jetstream/stubs/tests/inertia/DeleteApiTokenTest.php
markTestSkipped('API support is not enabled.'); } $this->actingAs($user = User::factory()->withPersonalTeam()->create()); $token = $user->tokens()->create([ 'name' => 'Test Token', 'token' => Str::random(40), 'abilities' => ['create', 'read'], ]); $response = $this->delete('/user/api-tokens/'.$token->id); $this->assertCount(0, $user->fresh()->tokens); } }