users: don't log mod actions for account upgrades.

Account upgrades are now logged on the /user_upgrades page, so they
no longer need to be recorded as mod actions. The mod actions log should
be reserved for privileged actions performed by Builders and above. They
also tended to spam the mod actions log.
This commit is contained in:
evazion
2021-09-06 00:28:26 -05:00
parent d03b150180
commit 3c17defc75
3 changed files with 1 additions and 12 deletions

View File

@@ -31,12 +31,6 @@ class UserUpgradeTest < ActiveSupport::TestCase
assert_equal("complete", @user_upgrade.status)
end
should "log an account upgrade modaction" do
assert_difference("ModAction.user_account_upgrade.count") do
@user_upgrade.process_upgrade!("paid")
end
end
should "send the recipient a dmail" do
assert_difference("@user_upgrade.recipient.dmails.received.count") do
@user_upgrade.process_upgrade!("paid")