Bug #9967
closed
Unit tests do not isolate user setup
Added by Marek Hulán almost 10 years ago.
Updated over 6 years ago.
Description
On several places we set User.current in setup or even in test method without clearing the value afterwards.
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2278 added
- Pull request deleted (
)
- Blocked by Bug #9979: Organization spec tests do not configure User.current during setup added
- Blocks Bug #9947: CVE-2015-1844 - GET /api/hosts doesn't respect organization/location membership added
- Translation missing: en.field_release set to 40
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release changed from 40 to 28
Also available in: Atom
PDF