From 7e39a4da84ae9b3731fc5afdeab4900ed58c9f64 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 30 Jun 2024 23:50:01 +0200 Subject: [PATCH] Fix tests --- tests/Feature/Form/FormRegisterActionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();