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
|
|
@ -10,7 +10,7 @@ use App\Models\User;
|
|||
use App\Services\PressRelease\AnonymizationService;
|
||||
use Database\Seeders\RolesAndPermissionsSeeder;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Livewire\Volt\Volt;
|
||||
use Livewire\Livewire;
|
||||
use Tests\TestCase;
|
||||
|
||||
beforeEach(function () {
|
||||
|
|
@ -37,7 +37,7 @@ test('an admin can preview and execute an anonymization from the queue', functio
|
|||
->type(LegalRequestType::Dsgvo)
|
||||
->create(['press_release_id' => $pressRelease->id]);
|
||||
|
||||
Volt::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
Livewire::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
->set('redactionTerms', "Matvey Teplitsky\nTeplitsky")
|
||||
->set('redactionReplacement', 'der Sprecher')
|
||||
->call('previewAnonymization')
|
||||
|
|
@ -66,7 +66,7 @@ test('the panel prefills the replacement and shows the full content for copying
|
|||
->type(LegalRequestType::Dsgvo)
|
||||
->create(['press_release_id' => $pressRelease->id]);
|
||||
|
||||
Volt::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
Livewire::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
->assertSet('redactionReplacement', AnonymizationService::DEFAULT_REPLACEMENT)
|
||||
->assertSee('Ansprechpartner ist Matvey Teplitsky')
|
||||
->set('redactionTerms', 'Matvey Teplitsky')
|
||||
|
|
@ -99,7 +99,7 @@ test('the editor is prefilled from a structured web redaction order', function (
|
|||
],
|
||||
]);
|
||||
|
||||
Volt::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
Livewire::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
->assertSet('redactionTerms', "Max Mustermann\nMustermanns")
|
||||
->assertSet('detachContacts', false)
|
||||
->assertSee('Strukturierter Schwärzungsauftrag')
|
||||
|
|
@ -121,7 +121,7 @@ test('executing sends an execution confirmation to the requester', function () {
|
|||
'requester_email' => 'presse@firma.example',
|
||||
]);
|
||||
|
||||
Volt::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
Livewire::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
->set('redactionTerms', 'Matvey Teplitsky')
|
||||
->call('previewAnonymization')
|
||||
->call('executeAnonymization')
|
||||
|
|
@ -141,7 +141,7 @@ test('execute without a prior preview is refused', function () {
|
|||
->type(LegalRequestType::Dsgvo)
|
||||
->create(['press_release_id' => $pressRelease->id]);
|
||||
|
||||
Volt::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
Livewire::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
->set('redactionTerms', 'Original')
|
||||
->call('executeAnonymization')
|
||||
->assertHasErrors('redactionTerms');
|
||||
|
|
@ -159,7 +159,7 @@ test('an admin can depublish instead of anonymizing', function () {
|
|||
->type(LegalRequestType::Dsgvo)
|
||||
->create(['press_release_id' => $pressRelease->id]);
|
||||
|
||||
Volt::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
Livewire::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
->call('depublishRelease')
|
||||
->assertHasNoErrors();
|
||||
|
||||
|
|
@ -184,7 +184,7 @@ test('an executed anonymization can be rolled back from the snapshot', function
|
|||
->type(LegalRequestType::Dsgvo)
|
||||
->create(['press_release_id' => $pressRelease->id]);
|
||||
|
||||
Volt::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
Livewire::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
->set('redactionTerms', 'Matvey Teplitsky')
|
||||
->call('previewAnonymization')
|
||||
->call('executeAnonymization')
|
||||
|
|
@ -212,7 +212,7 @@ test('anonymization actions are forbidden without the compliance permission', fu
|
|||
->type(LegalRequestType::Dsgvo)
|
||||
->create(['press_release_id' => $pressRelease->id]);
|
||||
|
||||
Volt::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
Livewire::test('admin.legal-requests.show', ['id' => $request->id])
|
||||
->set('redactionTerms', 'Original')
|
||||
->call('previewAnonymization')
|
||||
->assertForbidden();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue