Commit Graph

31 Commits

Author SHA1 Message Date
Christopher C. Wells 5de41c4793 Add recipe duplicate test 2022-03-06 20:53:50 -08:00
Christopher C. Wells 5c29150ae1 Upgrade to Laravel 9 2022-02-11 19:27:12 -08:00
Christopher Charbonneau Wells 1fbb9a7dae
Add support for meals customization (#15)
* Add meals as JSON field on User

* Change journal entry meal field to integer

* Make Quill and Draggable more modular

* Add meals routes and controller (WIP)

* Set default meals during migration

* Handle meals form

* No-op meal field migrations

This allows tests to pass easier and the migrations are not entirely
necessary anyway.

* Update factories and tests for new meals format

* Add basic meals edit test

* Update journal entry processing for new meal values

* Remove temporary migrations

* Only use default enabled meals in tests

* Add User `meals_enabled` attribute

* Ensure NULL values are removed from attributes

* Add meals data to use API response

* Set default meals on user create
2021-05-30 13:11:58 -07:00
Christopher C. Wells b21f483af2 Update Goals tests 2021-05-15 21:40:53 -07:00
Christopher C. Wells 78c3095036 Complete profile management functionality 2021-04-22 11:29:41 -07:00
Christopher C. Wells 104bbcd614 Do not update password when no new password is provided 2021-04-21 09:08:07 -07:00
Christopher C. Wells 1d1df92d8f Add media to User Controller test instances 2021-04-21 08:53:41 -07:00
Christopher C. Wells ef719c9175 Add User admin flag 2021-04-20 16:04:32 -07:00
Christopher C. Wells 0d5b3fe4fc Add User CRUD controller tests 2021-04-20 15:02:45 -07:00
Christopher C. Wells 0836e3ecf3 Move database refresh to base TestCase 2021-04-09 15:11:06 -07:00
Christopher C. Wells 69701ee4d8 Add old data rebuild test for recipe add 2021-04-06 14:37:38 -07:00
Christopher C. Wells 9b795a743b Correct tag handling for search indexing 2021-04-06 14:21:37 -07:00
Christopher C. Wells f331875ed4 Add butter? 2021-04-06 12:11:44 -07:00
Christopher C. Wells a1b91c7330 Update IngredientPicker tests 2021-04-06 12:07:12 -07:00
Christopher C. Wells beb69b4a0e Update tests for User refactoring 2021-04-06 11:41:33 -07:00
Christopher Charbonneau Wells 350a08a14d
Add Heroku support (#12) 2021-04-06 10:05:10 -07:00
Christopher C. Wells 3c2c5ce610 Add missing user authentication tests 2021-04-05 05:41:53 -07:00
Christopher C. Wells 8788c39d44 Remove breeze boilerplate verification and registration code 2021-04-05 05:41:34 -07:00
Christopher C. Wells 50ca7b68a1 Assert actual redirects on error 2021-04-04 21:32:31 -07:00
Christopher C. Wells c280b4464e Add "old input" tests for recipes and journal entries 2021-04-04 21:11:45 -07:00
Christopher C. Wells 599c6188ba Remove unstable ingredient picker testing 2021-04-02 23:42:27 -07:00
Christopher C. Wells 4d7db92700 Add parallel testing support 2021-04-02 23:42:27 -07:00
Christopher C. Wells 852cce67e8 Add Ingredient picker controller test coverage 2021-04-02 23:42:27 -07:00
Christopher C. Wells 3e697c7363 Make test typing more specific 2021-04-02 23:42:27 -07:00
Christopher C. Wells ace3e1710b Add Recipe controller tests 2021-04-02 23:42:27 -07:00
Christopher C. Wells 5c57af5951 Add ingredients-based journal entries test 2021-04-02 23:42:27 -07:00
Christopher C. Wells f9cb622d92 Do not follow redirects when asserting no session errors 2021-04-02 23:42:27 -07:00
Christopher C. Wells a686e8036b Add basic Journal Entry controller tests 2021-04-02 23:42:27 -07:00
Christopher C. Wells c67aa89555 Remove hardcoded create statements in factories (WIP) 2021-04-02 23:42:27 -07:00
Christopher C. Wells 9571454175 Move auth controller tests to namespace and refactor 2021-04-02 23:42:27 -07:00
Christopher C. Wells cae56df555 Create base test case for controllers 2021-04-02 23:42:27 -07:00