Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

@@ -0,0 +1,18 @@
<?php
namespace Tests\Feature;
use Illuminate\Contracts\Debug\ExceptionHandler;
use Livewire\Mechanisms\HandleComponents\CorruptComponentPayloadException;
use Tests\TestCase;
class LivewireCorruptPayloadNotReportedTest extends TestCase
{
public function test_corrupt_livewire_payloads_are_not_reported(): void
{
$handler = $this->app->make(ExceptionHandler::class);
$this->assertFalse($handler->shouldReport(new CorruptComponentPayloadException));
$this->assertTrue($handler->shouldReport(new \RuntimeException('real error')));
}
}