Project

General

Profile

Actions

Bug #22311

open

Tests can be made to fail by disabling task backups in Foreman's configuration

Added by Adam Ruzicka about 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Foreman plugin
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Reproducible:
always

Steps to reproduce:
1) Edit $FOREMAN_ROOT/config/settings.plugins.d/foreman-tasks.yaml
2) Set foreman_tasks['backup']['backup_deleted_plans'] to false
3) Run bundle exec rake test:foreman_tasks

Actual results:
Cleaner tests will fail because the method for backing up won't get called.

Expected results:
Cleaner tests will pass, tests don't depend on configuration.

No data to display

Actions

Also available in: Atom PDF