diff --git a/tests/Feature/Form/FormRegisterActionTest.php b/tests/Feature/Form/FormRegisterActionTest.php index 5f5505a7..3301c465 100644 --- a/tests/Feature/Form/FormRegisterActionTest.php +++ b/tests/Feature/Form/FormRegisterActionTest.php @@ -43,7 +43,7 @@ class FormRegisterActionTest extends FormTestCase ]), ]) ->create(); - ExportSyncAction::shouldRun()->once()->with($form->id); + ExportSyncAction::shouldRun()->shouldReceive('asJob')->once()->with($form->id); $this->register($form, ['vorname' => 'Max', 'nachname' => 'Muster', 'spitzname' => 'Abraham']) ->assertOk();