Tests: fix more tests

This commit is contained in:
Lain Soykaf 2023-12-12 19:08:57 +04:00
commit 05352330bb
8 changed files with 81 additions and 12 deletions

View file

@ -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")