Commit Graph

37 Commits

Author SHA1 Message Date
wxa
9092aa3029 Make separate setups for integration and unit tests 2018-10-29 17:57:47 +03:00
M. Shull
ad37c6b9c5 Merge pull request #1552 from mailpoet/email-notifications
Email notifications [MAILPOET-1522]
2018-10-15 11:16:23 -04:00
wxa
b597cb39f1 Fix AspectMock to work when the Premium plugin is active [MAILPOET-1585] 2018-10-11 23:08:40 +03:00
Pavel Dohnal
70debcc828 Refactor confirmation email sending
Aspect mock stopped working for me so I had to create a separate service
for sending confirmation emails.

[MAILPOET-1522]
2018-10-11 13:39:39 +02:00
Pavel Dohnal
20b1330094 Add logging dependencies
[MAILPOET-570]
2018-08-30 09:34:25 +02:00
Pavel Dohnal
8cf548db9f Update composer dependencies
[MAILPOET-1496]
2018-08-23 15:23:05 +02:00
Vlad
b50b636371 Adds multisite test environment to CI
Adds Robo command to run multisite tests locally and on CI
2017-11-21 12:24:18 -05:00
stoletniy
8472a837e8 Fix an 'Undefined index: SERVER_NAME' error in ConflictResolverTest [MAILPOET-1187] 2017-11-08 14:18:58 +00:00
stoletniy
2c358ab179 Add progressive throttling of subscriptions from the same IP address [MAILPOET-1128] 2017-10-10 19:36:20 +03:00
stoletniy
6a9b8d88c2 Extract subscribers to a separate table in the Bounce worker [MAILPOET-940] 2017-07-13 13:27:27 +03:00
stoletniy
6e929dcf79 Refactor simple workers to use a ScheduledTask model [MAILPOET-940] 2017-07-05 17:00:23 +03:00
Vlad
1e4c00169f Adds AspectMock library to mock static methods/etc. 2017-07-01 11:15:15 -04:00
fred
b7f7dc6728 Add unit tests for the MP2Migrator class
Add the method "invokeMethod" in the MailPoetTest class to be able to test private and protected methods
Move the "rowsCount" method in the Helpers class for reusability
Add the method "loadSQL" in the Helpers class
Store the mapping between MP2 user ID and MP3 subscriber ID
2017-06-12 13:13:02 +02:00
Vlad
ef2187c175 - Updates code formatting 2016-09-19 11:10:03 -04:00
Vlad
8e879047c2 - Adds additional DB tables to be cleaned during unit testing 2016-09-19 10:51:10 -04:00
Vlad
ae358ce13e - Updates statistics SQL query
- Fixes tests + expands coverage
- Removes leftover console command
2016-04-27 21:26:47 +03:00
Jonathan Labreuille
8ece62c9a6 fix tests 2016-03-18 14:58:33 +01:00
Jonathan Labreuille
a9b9e9c631 Updated tests in order to fix WP related issues 2016-03-18 14:30:59 +01:00
Jonathan Labreuille
409697ee64 Sending queue router update
- cleaned up useless code
- bugfixes
- improved code coverage
2016-02-11 11:30:01 -05:00
Jonathan Labreuille
a2ef62302f More Unit Tests + Initializer fix
- added unit test for Router\Forms
- updated unit test for Model\Segment to reflect changes
2016-02-02 17:22:11 +01:00
Jonathan Labreuille
10a20935c3 cleanup tests 2015-11-12 14:11:27 +01:00
Jonathan Labreuille
a4cf2f9c76 Major refactoring of listing/router/model relation
- updated Subscribers listing
- udpated Segments listing
- added Forms router
2015-10-29 15:30:24 +01:00
MrCasual
805f7d5417 - Adds new models: CustomFields and SubscriberCustomField + tests
- Adjusts DB Migrator, Initializer class
- Adjusts Subscribers model tests
Closes #159
2015-10-15 23:23:33 -04:00
Jonathan Labreuille
2a4945c956 Listing & Form & Refactoring
- finished implementing forms
- fixed form reset when clicking on new
- fixed responsive for select all checkbox and toggle item details
- refactored listing items' actions
- added Trash action
- cleaned up validations on models
- fixed syntax
- fixed tests
2015-09-16 12:14:04 +02:00
MrCasual
64756c865d - Renamed List model to Segment 2015-09-02 09:29:54 -04:00
MrCasual
78a2a50af7 - Renamed Subscriber and RelationSubscriberList models to SList and
SubscriberList, respectively
2015-09-01 19:49:50 -04:00
MrCasual
f6f8f1390f - Renamed Pivot to Relation as per Jo's comment :) 2015-09-01 09:26:41 -04:00
MrCasual
0015bdb617 - Added new model "SubscriberList"
- Added has_many_through relations to the new model + Subscriber model
- Added tests
- Fixed syntax in other models
This closes #95
2015-09-01 09:18:00 -04:00
Vlad
3af24f9877 Reverted back to Model class 2015-08-17 17:37:43 +00:00
Vlad
78b5791a46 - Added 'Newsletters' model and wrote tests
- Fixed some formatting in unit tests
Closes #68
2015-08-14 13:31:45 +00:00
marco
1202032ab6 Fix function and map when destroying models. 2015-08-13 18:07:36 +02:00
marco
b72db327f7 Fix error on test:all command. 2015-08-13 17:42:24 +02:00
Vlad
304c114dd3 Merge remote-tracking branch 'origin/master' into models_validation
Conflicts:
	lib/Models/Setting.php
	lib/Models/Subscriber.php
	tests/unit/Models/SettingCest.php
	tests/unit/Models/SubscriberCest.php
2015-08-13 14:04:27 +00:00
Vlad
c5f67cb371 - Database cleanup uses Models
- Formatted code as per Marco's comments
2015-08-12 22:48:42 +00:00
Vlad
820913156b Simplified database cleanup 2015-08-12 15:41:57 +00: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
b38ad03b8a First CodeCeption setup. 2015-07-14 18:18:34 +02:00