Commit Graph

12 Commits

Author SHA1 Message Date
Mike Jolley
0d6fe6e5eb Apply rules to tests and tasks 2024-03-21 16:57:59 +01:00
Rodrigo Primo
5646464853 Refactor Mailer::formatSubscriberNameAndEmailAddress() to use Doctrine
[MAILPOET-5758]
2024-01-31 12:44:58 +01:00
Rodrigo Primo
9adbf81a78 Replace expect()->true() with verify()->true()
codeception/verify 2.1 removed support for expect()->true() so we need
to replace it with verify()->true().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
afe378ba22 Replace expect()->equals() with verify()->equals()
codeception/verify 2.1 removed support for expect()->equals() so we need
to replace it with verify()->equals().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Jan Jakes
c67c58709b Unify spacing of declare statements
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
David Remer
1a25a7de2c Remove Mailinitiator references
[MAILPOET-4452]
2022-06-24 12:00:12 -05:00
Rostislav Wolny
6240debc10 Declare strict types in newly added MailerRelated classes
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Rostislav Wolny
e253b8f09f Refactor MailerTest to use MailerFactory
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
Rostislav Wolny
6cd22a1abe Remove factory functionality test cases from MailerTest
[MAILPOET-4115]
2022-04-11 16:54:38 +02:00
John Oleksowicz
6d22440936 Use blackhole email address for tests
For these tests it doesn't matter if the messages can actually get
delivered, so we can use the blackhole address instead.

[MAILPOET-4064]
2022-01-19 08:21:17 +01:00
John Oleksowicz
95bce59ae1 Prevent tests from emailing @example.com
Previously this test was using random email addresses in the form of
`bin2hex(random_bytes(7)) . '@example.com'`, the default address
generated by `\MailPoet\Test\DataFactories\Subscriber`. This was causing
the staff@mailpoet.com account to get banned by the MSS due to
`bad-domain-discard`s. Using the mailinator email address instead, like
the other sending tests, should prevent this from occurring.

[MAILPOET-4064]
2022-01-19 08:21:17 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00