Commit Graph

25 Commits

Author SHA1 Message Date
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