diff --git a/addons/mail/static/src/components/follower/follower_tests.js b/addons/mail/static/src/components/follower/follower_tests.js index a742e899e6b..28058fc9a9f 100644 --- a/addons/mail/static/src/components/follower/follower_tests.js +++ b/addons/mail/static/src/components/follower/follower_tests.js @@ -336,7 +336,7 @@ QUnit.test('edit follower and close subtype dialog', async function (assert) { isEditable: true, partner: [['insert', { email: "bla@bla.bla", - id: this.env.session.partner_id, + id: this.env.messaging.currentPartner.id, name: "François Perusse", }]], });