Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #30814 - change --owner_type's default to user #562

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

adiabramovitch
Copy link
Contributor

No description provided.

@ofedoren
Copy link
Member

Thanks, @adiabramovitch! Can we add just a few tests to ensure we don't break this in the future?

@adiabramovitch adiabramovitch force-pushed the 30814_new branch 2 times, most recently from c3b3791 to 90e68a4 Compare March 29, 2021 11:43

expected_result = success_result("Host created.\n")

result = run_cmd(cmd + minimal_params_without_hostgroup)
Copy link
Member

Choose a reason for hiding this comment

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

As far as I see we don't pass --owner option here, so onwer_id is not being called, thus the test doesn't actually tests the functionality of that method.

Copy link
Member

@ofedoren ofedoren left a comment

Choose a reason for hiding this comment

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

Thanks, @adiabramovitch! Merging now :)

@ofedoren ofedoren merged commit e3495d7 into theforeman:master Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants