Skip to content

Commit db4c5e6

Browse files
committed
[FIX] fixup: add_members -> _add_members
1 parent 81fb3bd commit db4c5e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addons/mail/tests/test_call_artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_admin_access(self):
4747
def test_user_access_member(self):
4848
# Membership grants read access to the channel's calls,
4949
# which in turn grants read access to the call's artifacts
50-
self.channel.add_members(partner_ids=[self.user_employee.partner_id.id])
50+
self.channel._add_members(partners=self.user_employee.partner_id)
5151
artifact = self.artifact.with_user(self.user_employee)
5252

5353
self.assertTrue(artifact.read(["start_ms"]), "Channel member should be able to read artifact")

0 commit comments

Comments
 (0)