Skip to content

Create new user to avoid memoization in User#owns_organization?

Abdul Wadood requested to merge 460623-fix-user-spec into master

What does this MR do and why?

Create new user to avoid memoization in User#owns_organization?

The caching in User#owns_organization? was resulting in flaky specs.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #460623 (closed) #460622 (closed)

Edited by Abdul Wadood

Merge request reports