Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Fixed in Releases:
Found in Releases:

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.

Actions

Also available in: Atom PDF