Skip to content

Check tests with theforeman/foreman#11055#447

Draft
adamruzicka wants to merge 1 commit into
theforeman:masterfrom
adamruzicka:ttt
Draft

Check tests with theforeman/foreman#11055#447
adamruzicka wants to merge 1 commit into
theforeman:masterfrom
adamruzicka:ttt

Conversation

@adamruzicka

Copy link
Copy Markdown
Contributor

No description provided.

@adamruzicka adamruzicka changed the title Empty commit to test the tests Fixes #39470 - Fix tests broken by ruby3.3 compatibility changes in Foreman Jun 29, 2026
@adamruzicka

Copy link
Copy Markdown
Contributor Author

Most likely caused by theforeman/foreman#11004

post :create, params: { host_id: host.to_param, puppetclass_id: puppetclass.id }
h = host
assert_difference(-> { h.puppet.reload.host_classes.count }) do
post :create, params: { host_id: host.to_param, puppetclass_id: puppetclass.to_param }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

> puppetclass.id
137

> pupetclass.to_param
137-class5

hm, I would expect "raw" id's to still work

@adamruzicka

Copy link
Copy Markdown
Contributor Author

This will be replaced by theforeman/foreman#11055

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@adamruzicka adamruzicka changed the title Fixes #39470 - Fix tests broken by ruby3.3 compatibility changes in Foreman Check tests with theforeman/foreman#11055 Jun 29, 2026
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.

1 participant