mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[MIG] base_user_role: Migration to 14.0
This commit is contained in:
committed by
Raf Ven
parent
464df82d9c
commit
0bec68b672
@@ -187,7 +187,7 @@ class TestUserRole(TransactionCase):
|
||||
}
|
||||
)
|
||||
# Check that user does not have any groups
|
||||
self.assertEquals(self.user_id.groups_id, self.env["res.groups"].browse())
|
||||
self.assertEqual(self.user_id.groups_id, self.env["res.groups"].browse())
|
||||
|
||||
def test_user_role_same_company(self):
|
||||
self.user_id.write({"company_id": self.company1.id})
|
||||
|
||||
Reference in New Issue
Block a user