Closed oivoodoo closed 2 months ago
@danschultzer you are definitely right about it, let me give a try to update changeset test cases. I had the issue with my user model in the project and tried to figure out the problem and come with fast fix to resolve the problem. Thank you!
Hi @danschultzer
Could you check the current changes when you have time?
Thank you!
❤️
Released with v1.0.38
Great catch. Adding the field to
Pow.Test.Ecto.Users.User
does give us a guarantee that we always test it, but I think it may be better to be more precise and just test the functions explicitly inPow.Ecto.Schema.ChangesetTest
with a struct that has adata
attribute. It seems that in other modules I did check forChangeset
struct correctly, but in several functions inPow.Ecto.Schema.Changeset
it is missing.