Commit Graph

6 Commits

Author SHA1 Message Date
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
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
Jonathan Labreuille
72ad98a77f unit test for router Subscribers 2016-01-28 18:00:55 +01:00
Jonathan Labreuille
894a9e8c90 Router\Router is now taking care of outputting JSON
- converted Subscribers Router to return array instead of wp_send_json()
- added unit test for Subscribers Router
2016-01-27 17:23:30 +01:00