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
|
|
@ -6,7 +6,7 @@ use App\Enums\PressReleaseStatus;
|
|||
use App\Models\Plan;
|
||||
use Database\Seeders\RolesAndPermissionsSeeder;
|
||||
use Illuminate\Support\Facades\Queue;
|
||||
use Livewire\Volt\Volt as LivewireVolt;
|
||||
use Livewire\Livewire;
|
||||
use Tests\TestCase;
|
||||
|
||||
beforeEach(function (): void {
|
||||
|
|
@ -33,7 +33,7 @@ test('customer show renders the publish confirmation modal with legal note and q
|
|||
subscribeUserToPlan($customer, $plan);
|
||||
$this->actingAs($customer);
|
||||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertSee('Pressemitteilung zur Prüfung freigeben')
|
||||
->assertSee('Rechtliche Hinweise')
|
||||
->assertSee('Mit der Freigabe versichern Sie:')
|
||||
|
|
@ -48,7 +48,7 @@ test('the quota block is hidden for users with an unlimited quota', function ()
|
|||
$this->actingAs($customer);
|
||||
|
||||
// Launch-Schalter aus → Kontingent unbegrenzt → kein Quota-Block.
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertSee('Pressemitteilung zur Prüfung freigeben')
|
||||
->assertDontSee('PM-Kontingent diesen Monat');
|
||||
});
|
||||
|
|
@ -59,7 +59,7 @@ test('submitting from the show modal moves the draft into review without consumi
|
|||
$customer->update(['press_release_quota_used_this_month' => 0]);
|
||||
$this->actingAs($customer);
|
||||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
// KI-Kennzeichnung (Art. 50 KI-VO) ist Pflicht im Submit-Modal.
|
||||
->set('aiTextDeclaration', AiTextDeclaration::None->value)
|
||||
->set('aiDeclarationConfirmed', true)
|
||||
|
|
@ -76,7 +76,7 @@ test('the image rights confirmation is hidden while only the placeholder is acti
|
|||
['customer' => $customer, 'pr' => $pr] = makeCustomerForShowPhase8a();
|
||||
$this->actingAs($customer);
|
||||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertSee('Ihre Bestätigungen')
|
||||
->assertDontSee('Alle Bildrechte sind geklärt.')
|
||||
->assertSeeHtml("' / 4'");
|
||||
|
|
@ -99,7 +99,7 @@ test('the image rights confirmation appears once an own title image exists', fun
|
|||
|
||||
$this->actingAs($customer);
|
||||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertSee('Alle Bildrechte sind geklärt.')
|
||||
->assertSeeHtml("' / 5'");
|
||||
});
|
||||
|
|
@ -111,7 +111,7 @@ test('the modal shows a booking notice instead of the submit flow when the gate
|
|||
['customer' => $customer, 'pr' => $pr] = makeCustomerForShowPhase8a();
|
||||
$this->actingAs($customer);
|
||||
|
||||
LivewireVolt::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
Livewire::test('customer.press-releases.show', ['id' => $pr->id])
|
||||
->assertSee('Buchung erforderlich')
|
||||
->assertDontSee('Mit der Freigabe versichern Sie:');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue