Remove phpstan errors from integration Newsletter tests

[MAILPOET-3235]
This commit is contained in:
Jan Lysý
2021-01-13 17:36:03 +01:00
committed by Veljko V
parent d3af5a1621
commit cb60c827a2
3 changed files with 7 additions and 0 deletions

View File

@@ -186,6 +186,7 @@ class LinksTest extends \MailPoetTest {
$newsltterLink = NewsletterLink::where('newsletter_id', 1)
->where('queue_id', 1)
->findOne();
assert($newsltterLink instanceof NewsletterLink);
expect($newsltterLink->hash)->equals('123');
expect($newsltterLink->url)->equals('http://example.com');
}