0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/e2e-api
Simon Backx 9ad45ee5be
Added tests for creating product benefits without name (#14217)
refs https://github.com/TryGhost/Team/issues/1188

The products API did return a 500 error when you tried to store product benefits with an empty name. This should throw a 422 Validation Error instead. This change includes some tests for this error. The error itself has been solved by updating the bookshelf-relations dependency earlier.

- Added test when creating a new product with an empty benefit name
- Added test when updating an existing product with new benefits, with an empty name
- Added a test that creates a tier with benefits
2022-03-10 10:10:35 +01:00
..
admin Added tests for creating product benefits without name (#14217) 2022-03-10 10:10:35 +01:00
content Fixed tiers test with correct visibility (#14280) 2022-03-08 18:00:30 +05:30
members Added default values for Stripe config in tests 2022-02-21 20:06:20 +13:00