Project

General

Profile

Bug #31399

Snapshot tests must take plugins into consideration

Added by Lukas Zapletal 7 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

Some templates render different output when a plugin is enabled/disabled:

https://github.com/theforeman/foreman/blob/develop/app/views/unattended/provisioning_templates/provision/preseed_default.erb#L11

We either need to stub this call to return always false or true.

Associated revisions

Revision 827b7d87 (diff)
Added by Lukas Zapletal about 2 months ago

Fixes #31399 - snapshot tests exclude plugins

History

#1 Updated by The Foreman Bot 7 months ago

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

#2 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8158 added

#3 Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases 2.5.0 added

#4 Updated by Lukas Zapletal about 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF