Project

General

Profile

Bug #11056

Unit test suite does not pass if oauth settings are set in settings.yaml

Added by Eric Helms about 4 years ago. Updated about 1 year ago.

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

Related issues

Has duplicate Foreman - Bug #3015: Locations and organizations should be enabled automatically in testsDuplicate2013-09-03

Associated revisions

Revision c6fcfc9c (diff)
Added by Eric Helms about 4 years ago

Fixes #11056: Configure base SETTINGS for test environment.

This change introduces the idea of having a base configuration for
SETTINGS within the test environment. This is captured in the
settings.yaml.test file. To be able to detect the Rails environment
in settings.rb, the ordering had to be changed whereby the Gemfile
is loaded up via boot.rb and then Rails is required so that the
Rails environment is available by the time settings.rb is processed.

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2528 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal about 4 years ago

  • Category set to Tests
  • Assignee set to Eric Helms
  • Legacy Backlogs Release (now unused) set to 63

#3 Updated by Dominic Cleal about 4 years ago

  • Has duplicate Bug #3015: Locations and organizations should be enabled automatically in tests added

#4 Updated by Eric Helms about 4 years ago

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

Also available in: Atom PDF