Use doctrine instead of Idiom in test for PostNotification

[MAILPOET-2946]
This commit is contained in:
Jan Lysý
2020-10-20 09:52:14 +02:00
committed by Veljko V
parent d5aac0778d
commit a15a74d94f
4 changed files with 215 additions and 179 deletions

View File

@@ -616,8 +616,12 @@ parameters:
path: ../../tests/integration/Newsletter/Scheduler/AutomaticEmailTest.php
-
message: "#^Cannot access property \\$value on MailPoet\\\\Models\\\\NewsletterOption\\|false\\.$#"
count: 5
message: "#^Access to an undefined property MailPoet\\\\Tasks\\\\Sending\\:\\:\\$scheduledAt\\.$#"
count: 2
path: ../../tests/integration/Newsletter/Scheduler/PostNotificationTest.php
-
message: "#^Access to an undefined property MailPoet\\\\Tasks\\\\Sending\\:\\:\\$priority\\.$#"
count: 2
path: ../../tests/integration/Newsletter/Scheduler/PostNotificationTest.php
-