Create a new form for the user
[MAILPOET-1798]
This commit is contained in:
committed by
Jack Kitterhing
parent
3443f082ef
commit
0fd954184d
@ -71,7 +71,7 @@ class FormsTest extends \MailPoetTest {
|
||||
'name' => 'My First Form',
|
||||
];
|
||||
|
||||
$response = $this->endpoint->save($formData);
|
||||
$response = $this->endpoint->save(Form::createOrUpdate($formData));
|
||||
expect($response->status)->equals(APIResponse::STATUS_OK);
|
||||
expect($response->data)->equals(
|
||||
Form::where('name', 'My First Form')->findOne()->asArray()
|
||||
|
Reference in New Issue
Block a user