You should not alter global app configuration. Katello.config should be stubbed for these tests and return a configuration needed for the tests.