fix failing feature webhook tests

This commit is contained in:
Vehikl 2025-07-24 16:52:21 -04:00
parent 88943563c7
commit b838c87af7
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class DispatchWebhooksTest extends TestCase
'events' => ['eloquent.created: '.Server::class], 'events' => ['eloquent.created: '.Server::class],
]); ]);
$webhookConfig->update(['events' => 'eloquent.deleted: '.Server::class]); $webhookConfig->update(['events' => ['eloquent.deleted: '.Server::class]]);
$this->createServer(); $this->createServer();

View File

@ -64,7 +64,7 @@ class ProcessWebhooksTest extends TestCase
ProcessWebhook::dispatchSync( ProcessWebhook::dispatchSync(
$webhook, $webhook,
'eloquent.created: '.Server::class, 'eloquent.created: '.Server::class,
$data, [$data],
); );
$this->assertCount(1, cache()->get("webhooks.$eventName")); $this->assertCount(1, cache()->get("webhooks.$eventName"));