Project

General

Profile

Actions

Refactor #31016

closed

Plugin testing leaves mess in registries

Added by Ondřej Ezr over 3 years ago. Updated over 3 years ago.

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

Description

Durign plugin testing (test/unit/plugin_test.rb) we refresh the plugin set, but we keep the same registries.
We need to refresh the registries as well, otherwise those are being filled with mocks and other garbage, that should not really be there.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #36661: Drop deprecated restore_plugins from test_helperClosedEvgeni GolovActions
Actions

Also available in: Atom PDF