diff --git a/tests/Feature/SupportTicketTest.php b/tests/Feature/SupportTicketTest.php index 1bf7bfec..828fd6ae 100644 --- a/tests/Feature/SupportTicketTest.php +++ b/tests/Feature/SupportTicketTest.php @@ -1233,6 +1233,8 @@ public function only_internal_notes_can_be_pinned(): void 'note' => false, ]); + // Livewire 4.4.6+ turns ModelNotFoundException into a 404 response in tests unless exception handling is off. + $this->withoutExceptionHandling(); $this->expectException(ModelNotFoundException::class); Livewire::actingAs($admin)