You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) test create/2 creates a token with correct email/password and TOTP code (ShroudWeb.Api.V1.TokenControllerTest)
test/shroud_web/controllers/api/v1/token_controller_test.exs:26
** (ArgumentError) errors were found at the given arguments:
* 1st argument: not a nonempty list
code: token = hd(Repo.preload(user, :user_tokens).user_tokens).token
stacktrace:
:erlang.hd([])
test/shroud_web/controllers/api/v1/token_controller_test.exs:41: (test)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: