Tests: fix more tests
This commit is contained in:
parent
dca41cc4a3
commit
05352330bb
8 changed files with 81 additions and 12 deletions
|
|
@ -14,6 +14,11 @@ defmodule Pleroma.User.WelcomeEmailTest do
|
|||
|
||||
setup do: clear_config([:welcome])
|
||||
|
||||
setup do
|
||||
Mox.stub_with(Pleroma.UnstubbedConfigMock, Pleroma.Test.StaticConfig)
|
||||
:ok
|
||||
end
|
||||
|
||||
describe "send_email/1" do
|
||||
test "send a welcome email" do
|
||||
user = insert(:user, name: "Jimm")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue