Remove test for name
This commit is contained in:
parent
b26935fc07
commit
d4c8fdff3f
|
@ -79,16 +79,4 @@ class FormtemplateStoreActionTest extends TestCase
|
||||||
$this->postJson(route('formtemplate.store'))
|
$this->postJson(route('formtemplate.store'))
|
||||||
->assertJsonValidationErrors($messages);
|
->assertJsonValidationErrors($messages);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testNameIsRequired(): void
|
|
||||||
{
|
|
||||||
$this->login()->loginNami();
|
|
||||||
|
|
||||||
$this->postJson(route('formtemplate.store'), [
|
|
||||||
'name' => '',
|
|
||||||
'config' => [
|
|
||||||
'sections' => []
|
|
||||||
]
|
|
||||||
])->assertJsonValidationErrors(['name' => 'Name ist erforderlich']);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue