Project

General

Profile

Actions

Bug #9967

closed

Unit tests do not isolate user setup

Added by Marek Hulán about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

On several places we set User.current in setup or even in test method without clearing the value afterwards.


Related issues 2 (0 open2 closed)

Blocked by Katello - Bug #9979: Organization spec tests do not configure User.current during setupClosed03/31/2015Actions
Blocks Foreman - Bug #9947: CVE-2015-1844 - GET /api/hosts doesn't respect organization/location membershipClosedMarek Hulán03/30/2015Actions
Actions

Also available in: Atom PDF