Chore: Upgrade to Laravel 12 + remove Mary and Jetstream dependencies (#141)

* docs: remove requirement for setting APP_KEY manually

* optimize date picker

* clean up modals

* spot light working

* reorganization

* add lazy load

* wip

* remove filament

* styling
This commit is contained in:
hackerESQ
2025-09-26 17:41:28 -05:00
committed by GitHub
parent 910d426ad4
commit e6f38d9481
146 changed files with 5443 additions and 3909 deletions
+4 -13
View File
@@ -7,9 +7,8 @@ namespace Tests;
use App\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Str;
use Laravel\Jetstream\Features;
use Laravel\Jetstream\Http\Livewire\ApiTokenManager;
use Livewire\Livewire;
use Livewire\Volt\Volt;
class ApiTokenPermissionsTest extends TestCase
{
@@ -18,10 +17,6 @@ class ApiTokenPermissionsTest extends TestCase
public function test_api_tokens_can_be_deleted(): void
{
if (! Features::hasApiFeatures()) {
$this->markTestSkipped('API support is not enabled.');
}
$this->actingAs($user = User::factory()->create());
$token = $user->tokens()->create([
@@ -30,7 +25,7 @@ class ApiTokenPermissionsTest extends TestCase
'abilities' => [],
]);
Livewire::test(ApiTokenManager::class)
Livewire::test('api-token-manager')
->set(['apiTokenIdBeingDeleted' => $token->id])
->call('deleteApiToken');
@@ -40,13 +35,9 @@ class ApiTokenPermissionsTest extends TestCase
public function test_api_tokens_can_be_created(): void
{
if (! Features::hasApiFeatures()) {
$this->markTestSkipped('API support is not enabled.');
}
$this->actingAs($user = User::factory()->create());
Livewire::test(ApiTokenManager::class)
Livewire::test('api-token-manager')
->set(['createApiTokenForm' => [
'name' => 'Test Token',
'permissions' => [],
@@ -71,7 +62,7 @@ class ApiTokenPermissionsTest extends TestCase
// 'abilities' => ['create', 'read'],
// ]);
// Livewire::test(ApiTokenManager::class)
// Volt::test('api-token-manager')
// ->set(['managingPermissionsFor' => $token])
// ->set(['updateApiTokenForm' => [
// 'permissions' => [],