Remove phpstan errors from integration API tests

[MAILPOET-3235]
This commit is contained in:
Jan Lysý
2021-01-13 17:32:20 +01:00
committed by Veljko V
parent f140875062
commit bcb62403a1
8 changed files with 17 additions and 0 deletions

View File

@ -167,6 +167,7 @@ class FormsTest extends \MailPoetTest {
$this->form1->trash();
$trashedForm = Form::findOne($this->form1->id);
assert($trashedForm instanceof Form);
expect($trashedForm->deletedAt)->notNull();
$response = $this->endpoint->restore(['id' => $this->form1->id]);