fix tests and mix format
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-18 18:25:28 -05:00
parent 889e08e42c
commit aede4f45ba
5 changed files with 32 additions and 32 deletions

View File

@ -56,8 +56,8 @@ defmodule Cannery.Fixtures do
|> Atom.to_string()
|> Email.generate_email(Accounts.get_user!(user_id), attrs)
[_, html_token, _] = email.html_body |> String.split("[TOKEN]")
[_, text_token, _] = email.text_body |> String.split("[TOKEN]")
[_, html_token | _] = email.html_body |> String.split("[TOKEN]")
[_, text_token | _] = email.text_body |> String.split("[TOKEN]")
^text_token = html_token
end