mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 23:27:54 +03:00
Add [Action required] to over limit email
This commit is contained in:
parent
d547d0f996
commit
ec2a4a1a65
@ -119,7 +119,7 @@ defmodule PlausibleWeb.Email do
|
||||
base_email()
|
||||
|> to(user)
|
||||
|> tag("over-limit")
|
||||
|> subject("You have outgrown your Plausible subscription tier")
|
||||
|> subject("[Action required] You have outgrown your Plausible subscription tier")
|
||||
|> render("over_limit.html", %{
|
||||
user: user,
|
||||
usage: usage,
|
||||
|
@ -69,7 +69,7 @@ defmodule Plausible.Workers.CheckUsageTest do
|
||||
|
||||
assert_email_delivered_with(
|
||||
to: [user],
|
||||
subject: "You have outgrown your Plausible subscription tier"
|
||||
subject: "[Action required] You have outgrown your Plausible subscription tier"
|
||||
)
|
||||
|
||||
assert Repo.reload(user).grace_period_end == Timex.shift(Timex.today(), days: 7)
|
||||
@ -156,7 +156,7 @@ defmodule Plausible.Workers.CheckUsageTest do
|
||||
|
||||
assert_email_delivered_with(
|
||||
to: [user],
|
||||
subject: "You have outgrown your Plausible subscription tier"
|
||||
subject: "[Action required] You have outgrown your Plausible subscription tier"
|
||||
)
|
||||
end
|
||||
|
||||
@ -202,7 +202,7 @@ defmodule Plausible.Workers.CheckUsageTest do
|
||||
|
||||
assert_email_delivered_with(
|
||||
to: [user],
|
||||
subject: "You have outgrown your Plausible subscription tier"
|
||||
subject: "[Action required] You have outgrown your Plausible subscription tier"
|
||||
)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user