Add more checks to the test
[MAILPOET-3628]
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user