Merge branch 'master' of https://github.com/odoo/odoo
[odoo/odoo.git] / openerp / addons / test_new_api / tests / test_onchange.py
index da28bdf..e9b7e1f 100644 (file)
@@ -146,8 +146,7 @@ class TestOnChange(common.TransactionCase):
             }),
             (1, message.id, {
                 'name': "[%s] %s" % ("Foo", USER.name),
-                'body': BODY,
-                'author': USER.id,
+                # Note: size is computed because it was not provided beforehand
                 'size': len(BODY),
             }),
         ])