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
5782297dca
commit
2cde7284a1
186 changed files with 889 additions and 1075 deletions
|
|
@ -3,7 +3,7 @@
|
|||
use App\Models\TerminationRequest;
|
||||
use App\Models\User;
|
||||
use Database\Seeders\RolesAndPermissionsSeeder;
|
||||
use Livewire\Volt\Volt;
|
||||
use Livewire\Livewire;
|
||||
use Tests\TestCase;
|
||||
|
||||
beforeEach(function () {
|
||||
|
|
@ -27,7 +27,7 @@ test('the legal queue lists open termination requests', function () {
|
|||
'reason' => 'Wiederholte Störung der Leistung.',
|
||||
]);
|
||||
|
||||
Volt::actingAs(terminationAdmin())
|
||||
Livewire::actingAs(terminationAdmin())
|
||||
->test('admin.legal-requests.index')
|
||||
->assertOk()
|
||||
->assertSee('Kündigungen')
|
||||
|
|
@ -41,7 +41,7 @@ test('the legal queue lists open termination requests', function () {
|
|||
test('an admin can resolve a termination request', function () {
|
||||
$termination = TerminationRequest::factory()->create();
|
||||
|
||||
Volt::actingAs(terminationAdmin())
|
||||
Livewire::actingAs(terminationAdmin())
|
||||
->test('admin.legal-requests.index')
|
||||
->call('resolveTermination', $termination->id)
|
||||
->assertOk();
|
||||
|
|
@ -55,7 +55,7 @@ test('an admin can resolve a termination request', function () {
|
|||
test('an admin can reopen a resolved termination request', function () {
|
||||
$termination = TerminationRequest::factory()->resolved()->create();
|
||||
|
||||
Volt::actingAs(terminationAdmin())
|
||||
Livewire::actingAs(terminationAdmin())
|
||||
->test('admin.legal-requests.index')
|
||||
->set('terminationStatusFilter', 'all')
|
||||
->call('reopenTermination', $termination->id)
|
||||
|
|
@ -70,7 +70,7 @@ test('an admin can reopen a resolved termination request', function () {
|
|||
test('resolved terminations are hidden from the default open view', function () {
|
||||
TerminationRequest::factory()->resolved()->create(['name' => 'Erledigte Kündigung']);
|
||||
|
||||
Volt::actingAs(terminationAdmin())
|
||||
Livewire::actingAs(terminationAdmin())
|
||||
->test('admin.legal-requests.index')
|
||||
->assertOk()
|
||||
->assertDontSee('Erledigte Kündigung');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue