when not defined, not allowed

This commit is contained in:
2025-09-14 16:06:50 +01:00
parent 135448398d
commit f333ea1ed0
2 changed files with 21 additions and 2 deletions
@@ -0,0 +1,11 @@
defmodule FunCore.BasicSignupWhitelistTest do
use ExUnit.Case
def mail_whitelisted_fun(_signups_allowed, _email_received) do
false
end
test "When not set, not whitelisted" do
refute(mail_whitelisted_fun(nil, "joe@example.com"))
end
end