Bug #18832
closed
Make sure permissions are present before test execution
Added by Ondřej Pražák over 7 years ago.
Updated over 6 years ago.
Description
Foreman's Role#add_permissions! method checks if the permissions already exist in database. Katello sets up role with permissions for tests in auth_support, but does not make sure that permissions actually exist, which leads to test failures if permissions were not created.
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6657 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Pull request https://github.com/Katello/katello/pull/6663 added
- Pull request https://github.com/Katello/katello/pull/6670 added
- Category set to Tests
- Translation missing: en.field_release set to 211
Also available in: Atom
PDF