Testing with log_in_user
I'm writing tests and have a helper to log_in_user that I found in ash-hq source.
But
user.__metadata__ == %{}
which makes sense since I'm generating the user with Ash.Seed. In ash-hq the user is created by a register action which I assume sets the metadata, but don't see how. I don't have an equivalent register action.
How do I generate this token?1 Reply
https://discord.com/channels/711271361523351632/1092931417371050116/1092931417371050116
More context can be found in that post 🙂