summaryrefslogtreecommitdiffstats
path: root/test/integration/projects_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/projects_test.rb')
-rw-r--r--test/integration/projects_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/integration/projects_test.rb b/test/integration/projects_test.rb
index 2cff5cf9b..49e5fd7fc 100644
--- a/test/integration/projects_test.rb
+++ b/test/integration/projects_test.rb
@@ -43,8 +43,10 @@ class ProjectsTest < Redmine::IntegrationTest
end
def test_modules_should_not_allow_get
+ log_user("admin", "admin")
+
assert_no_difference 'EnabledModule.count' do
- get '/projects/1/modules', {:enabled_module_names => ['']}, credentials('jsmith')
+ get '/projects/1/modules', :params => {:enabled_module_names => ['']}
assert_response 404
end
end