Project

General

Profile

Actions

Bug #9967

closed

Unit tests do not isolate user setup

Added by Marek Hulán almost 9 years ago. Updated over 5 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 #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2278 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms almost 9 years ago

  • Blocked by Bug #9979: Organization spec tests do not configure User.current during setup added
Actions #3

Updated by Marek Hulán almost 9 years ago

  • Blocks Bug #9947: CVE-2015-1844 - GET /api/hosts doesn't respect organization/location membership added
Actions #4

Updated by Marek Hulán almost 9 years ago

  • translation missing: en.field_release set to 40
Actions #5

Updated by Marek Hulán almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Dominic Cleal almost 9 years ago

  • translation missing: en.field_release changed from 40 to 28
Actions

Also available in: Atom PDF