Maya_Ismaeel
Maya_Ismaeel
FFilament
Created by Null Keso on 8/4/2023 in #❓┊help
Sample of writing unit tests using Pest
Hi ,Im trying to write test for creating resource in filament but i get : t vendor\livewire\livewire\src\Testing\TestableLivewire.php:181 177▕ 178▕ public function pretendWereSendingAComponentUpdateRequest($message, $payload) 179▕ { 180▕ $result = $this->callEndpoint('POST', '/livewire/message/'.$thi s->componentName, [ ➜ 181▕ 'fingerprint' => $this->payload['fingerprint'], 182▕ 'serverMemo' => $this->payload['serverMemo'], 183▕ 'updates' => [['type' => $message, 'payload' => $payload]], 184▕ ]); 185▕ 1 vendor\livewire\livewire\src\Testing\Concerns\MakesCallsToComponent.php:14 3 2 vendor\livewire\livewire\src\Testing\Concerns\MakesCallsToComponent.php:88
5 replies