Fix test by passing in required properties

This commit is contained in:
Marcus Moore 2025-02-27 15:23:17 -08:00
parent 7a9b5d61b0
commit 70332696c6
No known key found for this signature in database

View file

@ -10,7 +10,10 @@ class CategoryEditFormTest extends TestCase
{
public function testTheComponentCanRender()
{
Livewire::test(CategoryEditForm::class)->assertStatus(200);
Livewire::test(CategoryEditForm::class, [
'sendCheckInEmail' => true,
'useDefaultEula' => true,
])->assertStatus(200);
}
public function testSendEmailCheckboxIsCheckedOnLoadWhenSendEmailIsExistingSetting()