deps: Composer-Update (Laravel 12.69.3, Livewire 4.4.7, Flux 2.20.1, Fortify 1.40.0), league/commonmark 2.10.3 behebt zwei Advisories; Sentry-SDKs für GlitchTip (sentry/sentry-laravel, @sentry/browser)
Livewire 4.4.7 rendert ModelNotFoundException im Testhelfer als 404 statt sie zu werfen — zwei Tests auf assertNotFound() umgestellt, Laufzeitverhalten unverändert. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2701588ac1
commit
f2ed268b51
6 changed files with 1008 additions and 397 deletions
|
|
@ -9,7 +9,6 @@ use App\Models\PressRelease;
|
|||
use App\Models\User;
|
||||
use App\Services\Auth\ContactAccessService;
|
||||
use Database\Seeders\RolesAndPermissionsSeeder;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
use Livewire\Volt\Volt;
|
||||
|
|
@ -396,8 +395,8 @@ test('after the email basis is gone a non-author can no longer edit or correct t
|
|||
|
||||
// Die Korrektur-Action der Kundenseite hängt an `view` und findet die PM nicht mehr.
|
||||
$this->actingAs($gone);
|
||||
expect(fn () => Volt::test('customer.press-releases.show', ['id' => $published->id]))
|
||||
->toThrow(ModelNotFoundException::class);
|
||||
// Seit Livewire 4.4.7 als 404-Antwort statt geworfener ModelNotFoundException.
|
||||
Volt::test('customer.press-releases.show', ['id' => $published->id])->assertNotFound();
|
||||
});
|
||||
|
||||
test('an automatically upgraded manual membership falls back to member instead of being removed (E7)', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue