Commit Graph

1333 Commits

Author SHA1 Message Date
Jan Jakeš
eb02627a98 Fix PHPStan errors in unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
39932e9846 Run PHPStan for unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
e1132f9e92 Run code sniffer on full tests directory, merge commands into one
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Rostislav Wolny
a460f78113 Move logger factory test to unit tests
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Jan Jakeš
86675dfd4f Move Swiftmailer to vendor-prefixed
[MAILPOET-2363]
2019-10-02 09:30:49 +01:00
Jan Jakeš
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Rostislav Wolny
a6db3dceed Remove unused mailpoet cookie session
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Amine Ben hammou
eebe6e828f Add meta when sending confirmation emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
553df6c135 Add meta when sending WP transactional emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
d40747e0ac Add meta when sending stats notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
723cb368c4 Add meta when sending previews
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
8594645e0d Add meta to test emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Pavel Dohnal
227ec2adc9 Mark network tests as skipped
Instead of silently returning

[MAILPOET-2358]
2019-09-19 14:48:59 +02:00
wxa
f67e356202 Add SPF check API method to backend [MAILPOET-2295] 2019-09-12 14:09:27 +02:00
Pavel Dohnal
01fb9c7083 Move test to unit
[MAILPOET-2219]
2019-08-28 12:48:22 -04:00
Ján Mikláš
273809be77 Update 'View in browser' header link
[MAILPOET-2196]
2019-08-21 11:17:13 -04:00
Rostislav Wolny
6781ac684d Fix referral detector test methods names
[MAILPOET-2203]
2019-08-12 11:12:33 +02:00
Rostislav Wolny
fd6fd4c7e6 Add ReferralDetector and test
[MAILPOET-2203]
2019-08-12 11:12:33 +02:00
Rostislav Wolny
9daa3641bf Add fix to unit tests to enable mocking WPFunctions
[MAILPOET-2203]
2019-08-12 11:12:33 +02:00
Rostislav Wolny
13724898d1 Use Cookies service within Session and add unit test
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
wxa
7f40e5b512 Clean up unused imports [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
wxa
26d7fb5468 Fix PR remarks [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
wxa
b9b16dc13f Add tests [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
Pavel Dohnal
c15c693507 Add method for creating custom fields in API
[MAILPOET-2041]
2019-05-30 13:03:33 -04:00
Rostislav Wolny
472662b106 Add test for text renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
948d58e310 Add test for social icons renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
52eb29f7dd Add test for button renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
9a2101f13f Add test for image renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
48a6a842da Add test for header renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
5055c53e2b Add test for footer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
28c87b746c Add test for divider
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
9c0d39e74b Add test for spacer renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Pavel Dohnal
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Jan Jakeš
45c2464e50 Use site-specific form field obfuscation hash
[MAILPOET-1999]
2019-05-03 08:56:28 -04:00
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
wxa
994fae79d2 Move Mailer error tests to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
wxa
f2e0dc7d2f Refactor URL helper to DI and move its test to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
Rostislav Wolny
b9799a5446 Slightly improve regex in link content helper
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
Rostislav Wolny
bc32e5f6f3 Get rid of unused argument in inlineCss
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
Rostislav Wolny
c2f5a98893 Get rid of double parsing of html within rendering
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
Rostislav Wolny
d07f64038b Add output helpers
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
wxa
f0683f5226 Revert "Get rid of double html parsing during render" [MAILPOET-1914]
This reverts commit 6056dcd417.
2019-03-20 09:23:14 -04:00
Amine Ben hammou
3ff55d85a9 Fix tests 2019-03-07 08:30:14 -05:00
Rostislav Wolny
66ae3edf78 Get rid of double html parsing during render
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00