Skip to content

Fixes #39793 - Remove allow_multiple_content_views setting setup from tests - #1260

Merged
nofaralfasi merged 2 commits into
theforeman:developfrom
jnagare-redhat:remove-allow-multiple-content-views
Sep 29, 2026
Merged

nofaralfasi merged 2 commits into
theforeman:developfrom
jnagare-redhat:remove-allow-multiple-content-views

Conversation

@jnagare-redhat

Copy link
Copy Markdown
Contributor

What are the changes introduced in this pull request?

  • Remove UpstreamOnlySettingsTestHelper.set_if_available('allow_multiple_content_views') from tests that referenced the Katello setting, which is being removed in the companion Katello change (Fixes #39793).

Considerations taken when implementing this change?

  • These helpers only existed to satisfy upstream-only settings in test setup; with the setting gone they are unnecessary and would fail or no-op incorrectly once Katello drops the setting.
  • Companion PR: Katello removal of allow_multiple_content_views.

What are the testing steps for this pull request?

  • tags_generator_test.rb passes.
  • cloud_request_forwarder_test.rb passes.
  • machine_telemetries_controller_test.rb passes.

Made with Cursor

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

… tests

Drop UpstreamOnlySettingsTestHelper calls for the removed Katello setting.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jnagare-redhat
jnagare-redhat force-pushed the remove-allow-multiple-content-views branch from 57ef48e to 51f01d8 Compare September 23, 2026 14:15

@nofaralfasi nofaralfasi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve with one nit: delete the now-unused UpstreamOnlySettingsTestHelper module from test/test_plugin_helper.rb (lines 141–147). These 3 removed calls were its only usages.

Merge this PR promptly to unblock Katello #11875's CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jnagare-redhat

Copy link
Copy Markdown
Contributor Author

Approve with one nit: delete the now-unused UpstreamOnlySettingsTestHelper module from test/test_plugin_helper.rb (lines 141–147). These 3 removed calls were its only usages.

Merge this PR promptly to unblock Katello #11875's CI.

Updated

@nofaralfasi
nofaralfasi merged commit 9b60af9 into theforeman:develop Sep 29, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants