mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[FIX] base_user_role: Improve test validation sorting values
Related to https://github.com/OCA/server-backend/pull/304
This commit is contained in:
@@ -269,4 +269,4 @@ class TestUserRole(TransactionCase):
|
||||
new_role = self.role_model.search([("name", "=", "Test Role")])
|
||||
self.assertTrue(new_role)
|
||||
# Check that the role has the correct groups
|
||||
self.assertEqual(new_role.implied_ids.ids, user_group_ids)
|
||||
self.assertEqual(set(new_role.implied_ids.ids), set(user_group_ids))
|
||||
|
||||
Reference in New Issue
Block a user