Update default form name spelling

[MAILPOET-2592]
This commit is contained in:
Pavel Dohnal
2020-01-13 10:27:11 +01:00
committed by Rostislav Wolný
parent 2863cf9d93
commit 02a924ed28
3 changed files with 4 additions and 4 deletions

View File

@ -68,13 +68,13 @@ class FormsTest extends \MailPoetTest {
public function testItCanSaveAForm() {
$form_data = [
'name' => 'My first form',
'name' => 'My First Form',
];
$response = $this->endpoint->save($form_data);
expect($response->status)->equals(APIResponse::STATUS_OK);
expect($response->data)->equals(
Form::where('name', 'My first form')->findOne()->asArray()
Form::where('name', 'My First Form')->findOne()->asArray()
);
}