Christopher C. Wells
dd2b10a1db
Disable unreliable nutrient conversion tests
2024-02-02 11:10:42 -08:00
Christopher C. Wells
33d3a7421f
Remove tests relying on PHP math expressions
2023-12-04 21:02:42 -08:00
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
5541511d61
Update `user:add` command for User model changes
2021-04-22 15:10:38 -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
ebb07ffb7d
Replace unecessary states in Food factory
2021-04-20 11:55:10 -07:00
Christopher C. Wells
431de7f696
Add tests for recipe volume-based nutrients calculation
2021-04-18 14:42:17 -07:00
Christopher C. Wells
ff5661fdf1
Improve Jorunal Entry validation feedback
2021-04-17 19:39:07 -07:00
Christopher C. Wells
232f5ddfe8
Attempt to improve handling for common 1/3 and 2/3 amounts
2021-04-10 14:22:14 -07:00
Christopher C. Wells
0836e3ecf3
Move database refresh to base TestCase
2021-04-09 15:11:06 -07:00
Christopher C. Wells
05736cec30
Add tests and documentation for nutrient rounding changes
2021-04-08 16:54:01 -07:00
Christopher C. Wells
c088beb78c
Remove inconsistent fraction tests
2021-04-07 21:39:51 -07:00
Christopher C. Wells
f56fab3fd0
Give test user some goals and journal entries
2021-04-06 14:42:42 -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
2b3f0c31f6
Add Media API tests
2021-04-02 23:42:27 -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
da39143113
Test JSON API relationships
2021-04-02 23:42:27 -07:00
Christopher C. Wells
20d7516ff1
Update test names to match general stlye
2021-04-02 23:42:27 -07:00
Christopher C. Wells
0ec83db285
Add Goals API endpoint
2021-04-02 23:42:27 -07:00
Christopher C. Wells
1776d5c83b
Re-enable User API endpoint
2021-04-02 23:42:27 -07:00
Christopher C. Wells
9d8a851066
Test custom filters for JSON API endpoints
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
e97056553a
Add API endpoint and relationships for recipe separators
2021-04-02 23:42:27 -07:00
Christopher C. Wells
91af802c2f
Add basic API tests
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
Christopher C. Wells
38ca26291f
Add Goal tests
2021-04-02 23:42:27 -07:00