Commit Graph

29 Commits

Author SHA1 Message Date
Rostislav Wolny
a460f78113 Move logger factory test to unit tests
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
9daa3641bf Add fix to unit tests to enable mocking WPFunctions
[MAILPOET-2203]
2019-08-12 11:12:33 +02:00
Pavel Dohnal
c15c693507 Add method for creating custom fields in API
[MAILPOET-2041]
2019-05-30 13:03:33 -04:00
Pavel Dohnal
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
Amine Ben hammou
3e84a1f8e1 fixing translations 2018-05-23 21:32:59 +00:00
Amine Ben hammou
82ec8d7ef9 adding tests 2018-03-16 15:31:29 +01:00
stoletniy
a267c7524c Close the a tag to make valid HTML [MAILPOET-1220] 2017-11-23 16:02:40 +03:00
Vlad
e7ffe4d694 Replaces spaces in image URLs 2017-11-21 21:02:33 -05:00
Vlad
43c2908a2b Adds unit test for "preview" mode, which replaces system links with
hashes in preview emails
2017-06-19 11:04:51 -04:00
Alexey Stoletniy
bfdc13a8d1 Fix fubscription form failing when some fields are absent or don't exist [MAILPOET-764] 2017-01-24 21:12:56 +03:00
Vlad
e6d909da21 - Updates unit test 2016-12-30 10:59:37 -05:00
Vlad
13ed3aa3b9 - Adds unit test 2016-09-21 14:09:24 -04:00
Vlad
4538cab6c8 - Adds newsletter body/subject as a reusable template through
Codeception's Fixture utility class
2016-09-19 20:40:17 -04:00
Vlad
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
marco
34153e8df6 Refactor all env variables into Env class. 2015-08-08 22:35:46 +02:00
marco
4378d42274 First implementation of the Subscriber ORM Model. 2015-08-07 15:36:43 +02:00
marco
cffec78d38 Initialize the ORM in unit testing bootstrap. 2015-08-07 13:13:36 +02:00
marco
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
Jonathan Labreuille
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
Jonathan Labreuille
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
Jonathan Labreuille
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
Jonathan Labreuille
95042d68e5 migrated form renderer with basic unit tests 2015-07-24 17:47:08 +02:00
marco
878fcd005a Unit tests. 2015-07-16 16:45:25 +02:00
marco
b38ad03b8a First CodeCeption setup. 2015-07-14 18:18:34 +02:00