livewire: Volt entfernt — Komponenten als Livewire-4-Single-File-Components, Route::livewire(), Livewire::test(); livewire/volt deinstalliert
- 83 Komponenten: Livewire\Volt\Component → Livewire\Component
- 73 Routen (admin, auth, customer): Volt::route() → Route::livewire()
- 88 Testdateien: Volt::test/actingAs → Livewire::test/actingAs
- VoltServiceProvider gelöscht; composer remove livewire/volt
- config/livewire.php auf v4-Schlüssel (component_layout, component_placeholder,
component_locations, make_command: SFC ohne ⚡). Der alte Schlüssel layout war
wirkungslos; alle gerouteten Komponenten setzen ihr Layout selbst.
- CLAUDE.md, AGENTS.md, boost.json, .cursorrules, Skill volt-development
- Roadmap: erledigt; Larastan erfasst SFCs weiterhin nicht (Blade-Dateien)
Suite 2.325 grün, einer übersprungen; Larastan und Pint ohne Meldung;
route:cache und view:cache laufen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
79bb6cf1d0
commit
31da9ea8b6
186 changed files with 889 additions and 1075 deletions
|
|
@ -12,7 +12,7 @@ use App\Services\PressRelease\BookingRequiredException;
|
|||
use App\Services\PressRelease\PressReleaseService;
|
||||
use Database\Seeders\RolesAndPermissionsSeeder;
|
||||
use Illuminate\Support\Facades\Queue;
|
||||
use Livewire\Volt\Volt as LivewireVolt;
|
||||
use Livewire\Livewire;
|
||||
use Tests\TestCase;
|
||||
|
||||
beforeEach(function (): void {
|
||||
|
|
@ -46,7 +46,7 @@ test('with the gate on a draft without a booking shows the notice and links to b
|
|||
|
||||
$this->actingAs($customer);
|
||||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertSee('Noch keine Buchung')
|
||||
->assertSee('Buchung wählen')
|
||||
->assertSee(route('me.bookings.index'), false)
|
||||
|
|
@ -61,7 +61,7 @@ test('with the gate on a paid single purchase unlocks the submission action', fu
|
|||
|
||||
$this->actingAs($customer);
|
||||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertDontSee('Noch keine Buchung')
|
||||
->assertSee('Zur Prüfung freigeben');
|
||||
});
|
||||
|
|
@ -103,7 +103,7 @@ test('with the gate off the notice never shows', function () {
|
|||
|
||||
$this->actingAs($customer);
|
||||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertDontSee('Noch keine Buchung')
|
||||
->assertSee('Zur Prüfung freigeben');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue