[FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field

pull/1793/head
sebalix 2015-04-08 11:43:26 +02:00
parent d245f23c98
commit 39ce0d01cb
1 changed files with 1 additions and 3 deletions

View File

@ -96,9 +96,7 @@ class TestAuditlog(TransactionCase):
user = self.env['res.users'].create({ user = self.env['res.users'].create({
'name': 'testuser_inheritedfield', 'name': 'testuser_inheritedfield',
'login': 'testuser.inheritedfield@company.com', 'login': 'testuser.inheritedfield@company.com',
# fields inherited from 'res.partner' 'lang': 'en_US', # field inherited from 'res.partner'
'lang': 'en_US',
'notify_email': 'none',
}) })
self.assertTrue(auditlog_log.search([ self.assertTrue(auditlog_log.search([
('model_id', '=', users_model_id), ('model_id', '=', users_model_id),