c86fd822a6
Unit test for Model/Subscriber createOrUpdate
2015-09-11 09:38:29 +02:00
3d442a9770
Conflicts between Segment and Subscriber status.
2015-09-03 18:05:49 +02:00
e1f8ac0f91
Unit Test Listing
...
- added unit test for Listing Handler
- added unit test helper to generate Subscribers
2015-09-03 16:45:52 +02:00
d89f43dbe5
Unit tests for listing specific methods
...
- small fixes/optimization in Subscriber model
- added test for search and group in Subscriber
- added test for search in Newsletter
2015-09-03 13:47:39 +02:00
cf322ec3c2
Unit test: Subscriber status
2015-09-03 12:59:45 +02:00
c804e44961
Made changes as per Marco's comments
2015-09-02 17:28:49 -04:00
1698066f2b
Subscriber unit test -> check for status
2015-09-02 16:48:19 +02:00
e2775981af
- Renamed test case
2015-09-02 10:37:46 -04:00
64756c865d
- Renamed List model to Segment
2015-09-02 09:29:54 -04:00
78a2a50af7
- Renamed Subscriber and RelationSubscriberList models to SList and
...
SubscriberList, respectively
2015-09-01 19:49:50 -04:00
f6f8f1390f
- Renamed Pivot to Relation as per Jo's comment :)
2015-09-01 09:26:41 -04:00
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
3d58728312
Fixing listing
...
- amd style for listing dependencies
- added robo tasks to run failed tests
- created method to start phantomJS server in robofile
- fixed acceptance tests on form widget
- fixed unit test on subscriber
2015-08-27 22:38:42 +02:00
5b93e1c8a6
example using react-waypoint
2015-08-27 22:38:41 +02:00
368b67c598
Merge branch 'master' of github.com:mailpoet/mailpoet
2015-08-21 19:49:22 +02:00
dd5402b037
Newsletters can be sent!
2015-08-21 19:34:35 +02:00
f9f9ec1d05
Merge branch 'master' of mailpoet:mailpoet/mailpoet
2015-08-21 15:25:45 +00:00
969630f7ea
Updated _after() method for all Model tests. Closes #87
2015-08-21 11:24:28 -04:00
59653b0c6c
New Bridge class to send messages with our sending service.
2015-08-21 17:12:36 +02:00
ce5a1b46b6
Unit test for settings was not cleaning properly the DB.
2015-08-21 16:13:17 +02:00
5cc9c1c6de
Tests cleanup.
2015-08-20 00:31:42 +02:00
e386c3aa38
Cleanup tests.
2015-08-20 00:21:10 +02:00
ce730d7c3b
Settings router.
...
Here's a simple settings router. the createOrUpdate method lives
in the model, and by default all models will return true on save
or false if save went wrong.
2015-08-19 23:55:30 +02:00
b0f7e44a68
#65 fixing MailerCest::itCanGenerateACorrectMessage
2015-08-18 16:35:48 +02:00
fd0cc96fb2
Merge pull request #70 from mailpoet/first_mailer
...
A first Mailer for the Bridge
2015-08-18 16:27:40 +02:00
7da1cb9f5b
#65 fix and test Marco's refactoring
2015-08-18 09:23:35 +02:00
a84501024a
Refactor mailer.
2015-08-17 20:20:36 +02:00
3af24f9877
Reverted back to Model class
2015-08-17 17:37:43 +00:00
dd8f704037
Merge remote-tracking branch 'origin/master' into newsletter_model
2015-08-17 13:35:38 -04:00
653aa9be8f
Remove broken test, we don't have static CSS anymore.
2015-08-17 19:07:17 +02:00
14fdfaed86
Fixed formatting issues as per Marco's remarks
2015-08-17 09:40:57 -04:00
ffc180eac8
#65 test the generateMessage method; test with more than one subscribers
2015-08-17 14:08:31 +02:00
f78ab1c44b
#65 renamed the generateMessage method; simplify the subscribers property; removed the handle method
2015-08-17 10:33:22 +02:00
32f01272f1
#65 a first Mailer for the Bridge, with a minimal test
2015-08-14 16:29:02 +02:00
78b5791a46
- Added 'Newsletters' model and wrote tests
...
- Fixed some formatting in unit tests
Closes #68
2015-08-14 13:31:45 +00:00
ed3e3b0eb8
Fix indentation.
2015-08-13 18:18:12 +02:00
3183e34afc
Fix indentation and naming on Setting test.
2015-08-13 18:11:14 +02:00
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
5d1b8524ea
Added Laurent's tests/model save() method
2015-08-13 09:58:41 -04:00
ca45214a64
fixed dkim unit test
2015-08-13 13:09:12 +02:00
d5cd2b6bd9
Tests must test created_at and updated_at behavior.
2015-08-12 18:40:39 +02: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
5aa7e20695
Indentation.
2015-08-12 16:52:08 +02:00
d5593b770b
REmove old initialization code in Subscriber test.
2015-08-12 16:50:55 +02:00
82c9c33b58
Methods declaration syntax.
2015-08-12 16:49:58 +02:00
fcabee0749
#40 splitted the test in two; added test for Setting too
2015-08-12 09:54:20 +02:00
12bead358c
- Added Sudzy composer dependency for model validation
...
- All models now extend a generic Model class that extends Sudzy
- Wrote tests for Subscriber and Setting model validation
- Rewrote model tests to make sure they look the same
- Updated both tests with cleanup logic in the beginning
- Added test:unit-single method to Robo for selective unit testing
Closes #54
2015-08-11 23:52:00 +00:00
8d50141a49
#40 findOne returns an empty object when none found
2015-08-11 16:54:07 +02:00
236f324f6d
Merge branch 'master' of github.com:mailpoet/mailpoet into issue-40
2015-08-11 16:48:56 +02:00
4f24a8ed71
#40 adding created_at and update_at timestamps to subscribers and settings
2015-08-11 12:47:24 +02:00