Project

General

Profile

Refactor #31123

Cover menu generation by a test

Added by Ondřej Ezr 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tests
Target version:
-
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

We are silently hiding the exceptions during the menu generation, so we can actually have menu items that just doesn't work.

Associated revisions

Revision 7edcbe74 (diff)
Added by Ondřej Ezr 11 months ago

Fixes #31123 - cover menu generation by test

Covers the UserMenu#menus by a test, that ensures there is no exception rised.
If there would be an exception in the past, we would just silently hid the exception.

History

#1 Updated by The Foreman Bot 11 months ago

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

#2 Updated by The Foreman Bot 11 months ago

  • Fixed in Releases 2.3.0 added

#3 Updated by Ondřej Ezr 11 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF