ref: refs/heads/master commit ad64d13ecdabbb31dc08f2b0610f43984ffec6ae Author: Klaus Kämpf <kkaempf@suse.de> Date: Wed Sep 9 16:56:44 2009 +0200 Don't set USER_ROLES_CONFIG in resource registration tests, this belongs to policy/roles tests --- .../test/functional/resources_controller_test.rb | 4 ---- .../test/functional/resources_registration_test.rb | 4 ---- webservice/test/functional/resources_route_test.rb | 4 ---- 3 files changed, 0 insertions(+), 12 deletions(-) diff --git a/webservice/test/functional/resources_controller_test.rb b/webservice/test/functional/resources_controller_test.rb index 9def828..4662534 100644 --- a/webservice/test/functional/resources_controller_test.rb +++ b/webservice/test/functional/resources_controller_test.rb @@ -11,10 +11,6 @@ class TestPlugin end end -unless defined? USER_ROLES_CONFIG - USER_ROLES_CONFIG = File.join(File.dirname(__FILE__), "..", "fixtures", "yast_user_roles") -end - unless defined? RESOURCE_REGISTRATION_TESTING RESOURCE_REGISTRATION_TESTING = true # prevent plugin registration in environment.rb end diff --git a/webservice/test/functional/resources_registration_test.rb b/webservice/test/functional/resources_registration_test.rb index 99e7c71..bf1664e 100644 --- a/webservice/test/functional/resources_registration_test.rb +++ b/webservice/test/functional/resources_registration_test.rb @@ -12,10 +12,6 @@ class TestPlugin end end -unless defined? USER_ROLES_CONFIG - USER_ROLES_CONFIG = File.join(File.dirname(__FILE__), "..", "fixtures", "yast_user_roles") -end - unless defined? RESOURCE_REGISTRATION_TESTING RESOURCE_REGISTRATION_TESTING = true # prevent plugin registration in environment.rb end diff --git a/webservice/test/functional/resources_route_test.rb b/webservice/test/functional/resources_route_test.rb index a9e4f66..439e6fd 100644 --- a/webservice/test/functional/resources_route_test.rb +++ b/webservice/test/functional/resources_route_test.rb @@ -10,10 +10,6 @@ class TestPlugin end end -unless defined? USER_ROLES_CONFIG - USER_ROLES_CONFIG = File.join(File.dirname(__FILE__), "..", "fixtures", "yast_user_roles") -end - unless defined? RESOURCE_REGISTRATION_TESTING RESOURCE_REGISTRATION_TESTING = true # prevent plugin registration in environment.rb end -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org