mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fix test by passing in required properties
This commit is contained in:
parent
7a9b5d61b0
commit
70332696c6
|
@ -10,7 +10,10 @@ class CategoryEditFormTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testTheComponentCanRender()
|
public function testTheComponentCanRender()
|
||||||
{
|
{
|
||||||
Livewire::test(CategoryEditForm::class)->assertStatus(200);
|
Livewire::test(CategoryEditForm::class, [
|
||||||
|
'sendCheckInEmail' => true,
|
||||||
|
'useDefaultEula' => true,
|
||||||
|
])->assertStatus(200);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testSendEmailCheckboxIsCheckedOnLoadWhenSendEmailIsExistingSetting()
|
public function testSendEmailCheckboxIsCheckedOnLoadWhenSendEmailIsExistingSetting()
|
||||||
|
|
Loading…
Reference in a new issue