Commit Graph

33 Commits

Author SHA1 Message Date
aeac8c664d Fix Swiftmailer autoloading, use its official autoloader
[MAILPOET-2589]
2020-01-30 18:33:48 +00:00
835d8bc0af Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
a2982de3a8 Check all test support files with Code Sniffer
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
39932e9846 Run PHPStan for unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
a460f78113 Move logger factory test to unit tests
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
9daa3641bf Add fix to unit tests to enable mocking WPFunctions
[MAILPOET-2203]
2019-08-12 11:12:33 +02:00
c15c693507 Add method for creating custom fields in API
[MAILPOET-2041]
2019-05-30 13:03:33 -04:00
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
0fbbcf3f9e Fix conflicts for test coverage to work [MAILPOET-1607] 2018-11-14 17:51:20 +03:00
wxa
b6f40a9b52 Remove AspectMock, private method call trick and WP globals fixes from unit tests 2018-10-29 17:57:47 +03:00
wxa
8b2c5116f4 Fix AspectMock config 2018-10-29 17:57:47 +03:00
wxa
9092aa3029 Make separate setups for integration and unit tests 2018-10-29 17:57:47 +03:00
wxa
87e515b89d Move current unit tests to integration tests 2018-10-29 17:57:47 +03:00
3e84a1f8e1 fixing translations 2018-05-23 21:32:59 +00:00
82ec8d7ef9 adding tests 2018-03-16 15:31:29 +01:00
a267c7524c Close the a tag to make valid HTML [MAILPOET-1220] 2017-11-23 16:02:40 +03:00
e7ffe4d694 Replaces spaces in image URLs 2017-11-21 21:02:33 -05:00
43c2908a2b Adds unit test for "preview" mode, which replaces system links with
hashes in preview emails
2017-06-19 11:04:51 -04:00
bfdc13a8d1 Fix fubscription form failing when some fields are absent or don't exist [MAILPOET-764] 2017-01-24 21:12:56 +03:00
e6d909da21 - Updates unit test 2016-12-30 10:59:37 -05:00
13ed3aa3b9 - Adds unit test 2016-09-21 14:09:24 -04:00
4538cab6c8 - Adds newsletter body/subject as a reusable template through
Codeception's Fixture utility class
2016-09-19 20:40:17 -04:00
2856a08cdc - Made changes as per Marco's comments in #54
- Implemented database cleanup for tests. Closes #56
2015-08-12 15:36:56 +00:00
34153e8df6 Refactor all env variables into Env class. 2015-08-08 22:35:46 +02:00
4378d42274 First implementation of the Subscriber ORM Model. 2015-08-07 15:36:43 +02:00
cffec78d38 Initialize the ORM in unit testing bootstrap. 2015-08-07 13:13:36 +02:00
8e0217674f Env class to hold all environment variables.
We are going to use this class to store all variables
that we would store with globals and defines.
It will be initialized in the initializer and we'll be
able to get any variable with static methods.
2015-07-29 16:23:50 +02:00
ffbc54ffb7 added loadEnv to unit test and removed bootstrap code + added basic acceptance test for form widget (had to increase the wait value oh web driver to bypass JS animations delay) 2015-07-28 11:40:31 +02:00
2c73ab9c5f added WP env to unit tests - migrated form widget and form renderer + need orm to finish widget implementation as it relies on forms 2015-07-27 17:40:47 +02:00
b563dd179b added MAILPOET_VERSION constant + tried to add tests for form render but need WP env in unit test 2015-07-27 12:27:46 +02:00
95042d68e5 migrated form renderer with basic unit tests 2015-07-24 17:47:08 +02:00
878fcd005a Unit tests. 2015-07-16 16:45:25 +02:00
b38ad03b8a First CodeCeption setup. 2015-07-14 18:18:34 +02:00