Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 2e7e869

Browse files
committed
fix(emails): empty email user test
1 parent 769a8f4 commit 2e7e869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/groupher_server/mailer/email_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GroupherServer.Test.Mailer do
2424
end
2525

2626
test "not send welcome email when user has no email addr" do
27-
{:ok, user} = db_insert(:user)
27+
{:ok, user} = db_insert(:user, %{email: nil})
2828

2929
expected_email = GroupherServer.Email.welcome(user)
3030
assert {:ok, :pass} = expected_email

0 commit comments

Comments
 (0)