🗑️ Remove unused and outdated Blade views, refactor access restriction messages with Flux callout components, and update related Livewire tests for improved maintainability and UX.

This commit is contained in:
HolgerHatGarKeineNode
2026-01-18 23:10:37 +01:00
parent 22d3e6aac1
commit 6edcf014a6
14 changed files with 456 additions and 533 deletions

View File

@@ -76,7 +76,7 @@ it('handles nostr logout', function () {
it('denies access to create when not authenticated', function () {
Livewire::test('association.project-support.form.create')
->assertSet('isAllowed', false)
->assertSee('Du bist nicht berechtigt, eine Projektförderung anzulegen.');
->assertSee('Projektförderung kann nicht angelegt werden');
});
it('denies access to create when pleb has not paid', function () {
@@ -199,7 +199,7 @@ it('denies access to show when not authenticated', function () {
Livewire::test('association.project-support.show', ['project' => $project])
->assertSet('isAllowed', false)
->assertSee('Du bist nicht berechtigt, die Projektförderung einzusehen.');
->assertSee('Zugriff auf Projektförderung nicht möglich');
});
it('grants access to show when authenticated', function () {