Add [Action required] to over limit email

This commit is contained in:
Uku Taht 2021-11-04 10:13:08 +02:00
parent d547d0f996
commit ec2a4a1a65
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

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