Remove test for name

This commit is contained in:
Philipp Lang 2023-12-27 02:27:31 +01:00 committed by philipp lang
parent b26935fc07
commit d4c8fdff3f
1 changed files with 0 additions and 12 deletions

View File

@ -79,16 +79,4 @@ class FormtemplateStoreActionTest extends TestCase
$this->postJson(route('formtemplate.store'))
->assertJsonValidationErrors($messages);
}
public function testNameIsRequired(): void
{
$this->login()->loginNami();
$this->postJson(route('formtemplate.store'), [
'name' => '',
'config' => [
'sections' => []
]
])->assertJsonValidationErrors(['name' => 'Name ist erforderlich']);
}
}