Project

General

Profile

Actions

Refactor #9590

closed

Test for Host::Managed#info is too fragile

Added by Marek Hulán about 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

we are testing the complete hash that is generated by info method, most of these values are not set explicitly so with any change to default values, the test gets broken, I'd like to test only values we set explicitly

also one related refactoring is that info method get primary subnet twice and then calls uniq

Actions #1

Updated by The Foreman Bot about 9 years ago

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

Updated by Marek Hulán about 9 years ago

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

Updated by Dominic Cleal about 9 years ago

  • translation missing: en.field_release set to 28
Actions

Also available in: Atom PDF