Add more checks to the test

[MAILPOET-3628]
This commit is contained in:
Pavel Dohnal
2021-09-24 14:25:06 +02:00
committed by Veljko V
parent c7ca1d0101
commit 709b4d8fcd

View File

@@ -93,7 +93,11 @@ class CustomFieldsTest extends \MailPoetTest {
],
]);
expect($response)->array();
expect($response)->hasKey('id');
expect($response)->hasKey('name');
expect($response)->hasKey('type');
expect($response)->hasKey('params');
expect($response['params'])->array();
}
public function testItFailsToCreateNewCustomField() {