Skip to content
Snippets Groups Projects
Commit e74ef6cf authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] test_performance: bump query count

Recent changes in tracking fields add a new query. Adapt tests.
parent de93645f
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ class TestPerformance(TransactionCase):
records.write({'value': self.int(20)})
@queryCount(admin=19, demo=29)
@queryCount(admin=20, demo=30)
def test_write_mail_with_tracking(self):
""" Write records inheriting from 'mail.thread' (with field tracking). """
record = self.env['test_performance.mail'].search([], limit=1)
......@@ -180,7 +180,7 @@ class TestPerformance(TransactionCase):
model = self.env['test_performance.mail']
model.with_context(tracking_disable=True).create({'name': self.str('X')})
@queryCount(admin=37, demo=53)
@queryCount(admin=38, demo=54)
def test_create_mail_with_tracking(self):
""" Create records inheriting from 'mail.thread' (with field tracking). """
model = self.env['test_performance.mail']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment