-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[17.0][FW] base_user_role: Improve tests resiliency #331
[17.0][FW] base_user_role: Improve tests resiliency #331
Conversation
Hi. thanks for porting this patch.
tyhanks ! |
These 2 tests were checking the exact set of groups a user should have. If these tests are ran in a database where a module is previously installed which adds more groups to the base role, these exact group sets would be inexact, although the behavior that is being tested was actually properly working. With this patch, basically I'm testing if the user contains the groups from the roles, not the exact role set expected. It should work in integration scenarios. @Tecnativa TT20468
c89498c
to
ae6e2c3
Compare
This PR has the |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 41a7ed7. Thanks a lot for contributing to OCA. ❤️ |
I imported 2 commits from the https://github.com/OCA/server-backend/pull/181/commits pr.