Commit Graph

6 Commits

Author SHA1 Message Date
Jonathan Labreuille
56b4688f93 updated unit tests for segments 2016-02-12 19:29:30 +01:00
Jonathan Labreuille
95b0b39366 Fixed bulk_action success messages
- uptaded Subscriber & Segment routers' test
- moved add/remove segments logic to Subscriber::createOrUpdate
- fixed Router\Segments save not returning errors
2016-02-08 13:36:35 +01:00
Jonathan Labreuille
67a3440ced updated router unit tests - refactor + test bulk delete 2016-02-08 10:10:43 +01:00
Jonathan Labreuille
55f851208b Major update of unit tests / updated routers + models + react 2016-02-04 19:04:52 +01:00
Jonathan Labreuille
0c419cde16 Unit tests (Router\NewsletterTemplates & Router\Segments
- moved json_decode(body) inside NewsletterTemplate->asArray (override)
- updated NewsletterTemplate router accordingly
- finished Segments unit test
2016-02-04 14:36:08 +01:00
Jonathan Labreuille
4fd0c4b484 Router updates + unit tests + React
- added -f flag to run unit test command in order to fail fast
- pass only id to "$endpoint->get($id)" in React forms instead of array
- updated routers according to the ->get($id) change
- refactored a bit the way form creation works
- added unit tests for Segments router
2016-02-01 11:56:21 +01:00