82bf183a6c
Use doctrine entity in posts test
...
[MAILPOET-3027]
2021-03-16 14:40:18 +01:00
a50c20637a
Create an empty WC_Emails stub instead of using stdClass in a test
...
This commit simply improves an integration test that I modified while
working on [MAILPOET-3421] to use an empty WC_Emails stub instead of
using stdClass.
2021-03-01 14:14:19 +01:00
5c38069caa
Add scheduled tasks cleanup to tests setup
...
[MAILPOET-3412]
2021-03-01 08:43:45 +01:00
9473579766
Fix type issues in tests
...
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00
386f0c66b4
Don't use transactions for statements with implicit commit
...
[MAILPOET-3926]
2020-12-07 11:36:01 +01:00
54727ad9a2
Fix integration tests to work with updated codeception/verify
...
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
95af49e43f
Refactor creating/deleting WordPress users in integration tests
...
[MAILPOET-3077]
2020-09-29 08:24:11 +02:00
e38b00f0f2
Unset global closure in tests
...
[MAILPOET-3097]
2020-08-12 11:37:28 +02:00
6e49cc5e4e
Blacklist more woo filters
...
[MAILPOET-2657]
2020-08-06 12:23:41 +02:00
f1fb0c3529
Rewrite newsletter template API tests to Doctrine
...
[MAILPOET-2645]
2020-03-23 00:33:40 +01:00
82fe4e6c78
Add helper method for truncating entities in integration tests
...
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
b39dac75d6
Autofix number of newlines between methods
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
0dcdf6e9f1
Autofix line endings
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
a5679a5dbf
Fix code style and small bugs
...
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
3018c1935c
Fix cannot declare class error
...
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
3bbc8ea2af
Convert variable names to camel case in strings
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
8c848cfa28
Convert property names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037
Convert variable names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
09a1411c81
Fix types with annotations [MAILPOET-2488]
2019-12-30 14:51:22 +01:00
bd1a84c5c3
Fix types by casting [MAILPOET-2488]
2019-12-30 14:51:22 +01:00
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
d3ce76f88d
Use instance of checks for detecting WCProduct
...
[MAILPOET-2586]
2019-12-19 18:08:26 +00:00
404ebc5170
Fix PHPCS errors
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
aa129f5987
Use template for WooCommerce transactional emails
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
40c87d50fe
Remove old Setting model from integration tests
...
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
7bddf631c5
Clear EntityManager also before tests
...
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
388ced8b53
Remove static behavior from SettingsController
...
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
d970dda637
Replace "new SettingsController()" with fetch from DI container
...
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
1374156386
Remove AspectMock package [MAILPOET-2464]
2019-10-30 23:22:48 +00:00
a2982de3a8
Check all test support files with Code Sniffer
...
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
5ceb4a9343
Move automatic emails from Premium plugin
...
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
f6965f217e
Forbid tests skipping on master
...
[MAILPOET-2358]
2019-09-19 14:48:59 +02:00
7105c8ad5b
Add Doctrine setup to integration tests
...
[MAILPOET-2014]
2019-07-24 15:03:16 -04:00
1fed7fec55
Prevent running migrations before integration tests to avoid serialization issues
...
[MAILPOET-2172]
2019-07-16 11:15:30 -04:00
5da7110eb6
Use short array syntax
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
b9af15e19f
Enforce array trailling commas
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd
Add space between foreach and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
217172711d
Blacklist woocommerce and some wp_filter globals for integration tests to work with WC active
...
MAILPOET-1765
2019-02-12 12:11:35 -05:00
4c6e76dd44
Add SettingsController cache reset to integration tests
...
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
8b602bd947
Move WPHooks methods to WPFunctions
2019-01-31 13:25:00 +01:00
cfcba021b1
Merge WP_ROOT and WP_TEST_PATH environment vars
...
[MAILPOET-1605]
2018-11-01 14:46:38 +01:00
8b2c5116f4
Fix AspectMock config
2018-10-29 17:57:47 +03:00
9092aa3029
Make separate setups for integration and unit tests
2018-10-29 17:57:47 +03:00
87e515b89d
Move current unit tests to integration tests
2018-10-29 17:57:47 +03:00