[FIX] mail_tracking: Modification in unitest.

This commit is contained in:
angelJuaGar 2021-06-29 00:48:24 +00:00 committed by Jasmin Solanki
parent 7f964d9386
commit 49a26ca11b
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ class TestMailTracking(TransactionCase):
"body": "<p>This is a test message</p>",
}
)
message._moderate_accept()
message.with_context(do_not_send_copy=True)._moderate_accept()
# Search tracking created
tracking_email = self.env["mail.tracking.email"].search(
[