tests: fix amcheck job tests.

This commit is contained in:
evazion
2021-10-13 04:19:44 -05:00
parent c0f744f84d
commit 5e8c91700c
2 changed files with 2 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ class AmcheckDatabaseJob < ApplicationJob
end
def notify(output)
DanbooruLogger.info(output)
DanbooruLogger.info(output) unless Rails.env.test?
Dmail.create_automated(to: User.owner, title: "pg_amcheck failed", body: output)
end
end