Form editor v2 (#579)
* Form editor v2 * fix template test * setFormDefaults when save * fix form cleaning dark mode * improvements on open sidebar * UI polish * Fix change type button --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -65,8 +65,7 @@ it('can update a form', function () {
|
||||
|
||||
$this->assertDatabaseHas('forms', [
|
||||
'id' => $form->id,
|
||||
'title' => $form->title,
|
||||
'description' => $form->description,
|
||||
'title' => $form->title
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -125,8 +124,7 @@ it('can duplicate a form', function () {
|
||||
expect($workspace->forms()->count())->toBe(2);
|
||||
$this->assertDatabaseHas('forms', [
|
||||
'id' => $response->json('new_form.id'),
|
||||
'title' => 'Copy of ' . $form->title,
|
||||
'description' => $form->description,
|
||||
'title' => 'Copy of ' . $form->title
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user