Rodrigo Primo
bcf57de500
Remove remaining uses of Subscriber model in SubscriberExporterTest
...
[MAILPOET-5361]
2023-05-30 11:16:46 -05:00
Rodrigo Primo
1c0f5af55c
Remove remaining uses of CustomField model in SubscriberExporterTest
...
[MAILPOET-5361]
2023-05-30 11:16:46 -05:00
alex-mailpoet
4f1afa388f
Clean up transient cache in tests where necessary
...
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
Rodrigo Primo
00d021109c
Move ModelValidator::validateNonRoleEmail() to a new Validator class
...
We want to remove/refactor the whole ModelValidator class as part of the
Doctrine refactor.
This commit moves the method ModelValidator::validateNonRoleEmail() to a
new Validator class as the method is not used by the validator system of
the Paris models. ModelValidator::validateEmail() was also moved as it
is called by ModelValidator::validateNonRoleEmail().
[MAILPOET-4343]
2023-05-17 12:37:22 +02:00
Jan Jakes
70e6447e28
Extract WPFunctions reset to test bootstrap
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
81274b1691
Replace hardcoded custom field ID with the actual one
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
c1babe49db
Remove more no longer necessary test cleanups
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cf67ad2a83
Add missing parent::_after calls
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cd0b795ac8
Extract customer creation/cleanup
...
This also ensures that cleanup always runs after all integration tests
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
c75bc388c9
Remove unnecessary cleanup code
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
57eb438eb8
Don't assume auto increment of 1
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Rodrigo Primo
775ab32037
Fix PHPStan baseline errors in a few test files
...
[MAILPOET-4037]
2023-02-23 14:13:17 +01:00
Jan Jakes
82aeb89854
Use strict types in tests
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
David Remer
7db40b27b5
Fix errors automatically with phpcbf
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
d2ec7bba42
Replace instance_of asserts in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
Jan Lysý
ba81018a9d
Add test for tagging imported subscribers
...
[MAILPOET-4558]
2022-09-15 11:26:10 +02:00
Jan Lysý
5c57dd2006
Add saving tags for imported subscribers
...
[MAILPOET-4558]
2022-09-15 11:26:10 +02:00
Sam Najian
b2718940df
Remove models from SegmentsExporterTest
...
[MAILPOET-4348]
2022-08-01 14:18:59 +02:00
Sam Najian
3ef32787cc
Remove models from NewslettersExporterTest
...
[MAILPOET-4348]
2022-08-01 14:18:59 +02:00
Sam Najian
5b0e7128c6
Remove usages of StatisticsNewsletters in newsletter exporter
...
[MAILPOET-4348]
2022-08-01 14:18:59 +02:00
Sam Najian
31aa18868b
Remove traces of older models in PersonalDataExports namespace
...
[MAILPOET-4348]
2022-08-01 14:18:59 +02:00
Sam Najian
10d4eb5d7f
Remove old models from SegmentsExporter
...
[MAILPOET-4348]
2022-08-01 14:18:59 +02:00
Sam Najian
a2f65bf647
Migrate PersonalDataExporters\NewslettersExporter to Doctrine
...
[MAILPOET-4348]
2022-07-18 16:47:48 +02:00
Brezo Cordero
94fe87008a
Remove PHPStan level 6 errors from Import
...
Remove the following errors from Subscribers\ImportExport\Import\MailChimp:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).
[MAILPOET-3720]
2022-05-25 09:43:47 +02:00
Brezo Cordero
34ce6cd329
Remove PHPStan level 6 errors from Import
...
Remove the following errors from Subscribers\ImportExport\Import\Import:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).
I have also added a few checks when using count and typed the arrays when possible.
[MAILPOET-3720]
2022-05-25 09:43:47 +02:00
Rodrigo Primo
30d44186bd
Refactor ImportExportFactoryTest to use Doctrine instead of Paris
...
[MAILPOET-4139]
2022-05-23 11:37:26 +02:00
Rodrigo Primo
e6dd8fedbf
Replace old model StatisticsOpens in OpensTest and NewslettersExporterTest
...
[MAILPOET-4150]
2022-05-13 08:45:28 +02:00
Jan Jakes
ab27eaee2d
Autoformat files with prettier
...
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00