Skip to content
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

[12.0][FIX] dms: me cases admin and demo users have previously in 'Show private access' group and causes some tests to fail. #112

Merged

Conversation

victoralmau
Copy link
Member

In some cases admin and demo users have previously in 'Show private access' group and causes some tests to fail. (Standarize according to 13.0) (It's fixed directly in #107)

Please @pedrobaeza and @yajo can you review it?

@Tecnativa

@pedrobaeza pedrobaeza added this to the 12.0 milestone Jul 9, 2021
@pedrobaeza
Copy link
Member

I think you should use other user for tests instead of that 2.

@victoralmau
Copy link
Member Author

I think you should use other user for tests instead of that 2.

Yes, totally agree but that would make it necessary to change all tests now. In the future it would be a good idea to redo the tests with users created in the tests (not admin and demo).

@pedrobaeza
Copy link
Member

Then instead of this, just remove both users from the group on the setup of the test instead of doing this ugly if, as you are leaving without testing certain things.

…w private access' group and causes some tests to fail. (Standarize according to 13.0)
@victoralmau victoralmau force-pushed the 12.0-fix-dms-test_storage_attachment branch from 95d6790 to 3463243 Compare July 9, 2021 06:41
@pedrobaeza
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 12.0-ocabot-merge-pr-112-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4536162 into OCA:12.0 Jul 9, 2021
@yajo yajo deleted the 12.0-fix-dms-test_storage_attachment branch July 9, 2021 07:08
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at aba3b05. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants