Fix tests

This commit is contained in:
philipp lang 2023-12-27 22:41:07 +01:00
parent d597d5ea2b
commit f55c174019
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class FormtemplateStoreActionTest extends TestCase
$this->assertEquals(['mobile' => 2, 'tablet' => 2, 'desktop' => 1], $formtemplate->config['sections'][0]['fields'][0]['columns']);
$this->assertEquals(10, $formtemplate->config['sections'][0]['fields'][1]['rows']);
$this->assertFalse($formtemplate->config['sections'][0]['fields'][0]['required']);
Event::assertDispatched(Succeeded::class, fn (Succeeded $event) => $event->message = 'Vorlage gespeichert.');
Event::assertDispatched(Succeeded::class, fn (Succeeded $event) => $event->message === 'Vorlage gespeichert.');
}
public function validationDataProvider(): Generator