Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Update Product: test if validation error is fired correctly

Premium
3:20

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

54 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

R
Retzko ✓ Link copied!

Hi, Povilas - I think a small edit is needed here. In the recording, you put the assertions in the test_product*() code as I had expected but in the text version the assertions are placed in the createUser() function. Thanks for the terrific tutorial!

��
Дмитрий Исаенко ✓ Link copied!

You made a mistake and placed assert-methods in the wrong function - "createUser" instead "test_product_update_validation_error_redirects_back_to_form" (at the text-version)