Revision aaf30cda
Added by Eric Helms about 10 years ago
lib/katello/tasks/test.rake | ||
---|---|---|
test_task = Rake::TestTask.new('katello_test_task') do |t|
|
||
t.libs << ["test", "#{Katello::Engine.root}/test"]
|
||
t.test_files = [
|
||
"#{Katello::Engine.root}/test/services/**/*_test.rb",
|
||
"#{Katello::Engine.root}/test/controllers/api/v1/*_test.rb",
|
||
"#{Katello::Engine.root}/test/controllers/api/v2/*_test.rb",
|
||
"#{Katello::Engine.root}/test/actions/**/*_test.rb",
|
Also available in: Unified diff
Fixes #4657: Removes Katello current user setting and moves consumer
authentication checking to the proxies controller.
Previously, the API controller was attempting to handle authentication for
standard users and consumers across all controllers. After moving all consumer
routes and functionality to the Candlepin proxies controller, client authentication
should be handled within the context of that controller and authentication/authorization
controller relegated to the underlying Foreman framework.