theforeman / foreman_rh_cloud

a plugin to Foreman that generates and uploads reports to the Red Hat cloud
GNU General Public License v3.0
6 stars 32 forks source link

Permission tests failing #880

Open dosas opened 7 months ago

dosas commented 7 months ago

I could not find a fitting project in redmine so I put it here.

When running the permission tests:

bundle exec rake test TEST="test/unit/foreman/access_permissions_test.rb" --trace -v TESTOPTS=-v

I get:

Failure:
AccessPermissionsTest#test_0781_route insights_cloud/api/machine_telemetries/forward_request should have a permission that grants access [test/unit/shared/access_permissions_test_base.rb:33]
Minitest::Assertion: permission for insights_cloud/api/machine_telemetries/forward_request not found, check access_permissions.rb.
Expected [] to not be empty.

Failure:
AccessPermissionsTest#test_0780_route insights_cloud/api/machine_telemetries/branch_info should have a permission that grants access [test/unit/shared/access_permissions_test_base.rb:33]
Minitest::Assertion: permission for insights_cloud/api/machine_telemetries/branch_info not found, check access_permissions.rb.
Expected [] to not be empty.