From d16f02c8b3398584f97972496961d8c3961ec254 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 10 Jan 2024 21:43:22 +0100 Subject: [PATCH] fix tests --- tests/Feature/Form/FormtemplateIndexActionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Form/FormtemplateIndexActionTest.php b/tests/Feature/Form/FormtemplateIndexActionTest.php index a358fd0a..71bb175b 100644 --- a/tests/Feature/Form/FormtemplateIndexActionTest.php +++ b/tests/Feature/Form/FormtemplateIndexActionTest.php @@ -14,7 +14,7 @@ class FormtemplateIndexActionTest extends TestCase public function testItDisplaysIndexPage(): void { - $formtemplate = Formtemplate::factory()->sections([FormtemplateSectionRequest::new()->name('sname')->create()])->create(); + $formtemplate = Formtemplate::factory()->sections([FormtemplateSectionRequest::new()->name('sname')])->create(); $group = Group::factory()->has(Group::factory()->state(['inner_name' => 'child']), 'children')->create(['inner_name' => 'root']); $this->login()->loginNami(12345, 'pasword', $group)->withoutExceptionHandling();