Add [Action required] to over limit email

pull/1479/head
Uku Taht 5 years ago
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…
Cancel
Save