mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 08:56:00 +02:00
Don't clear plugins in tests (#16258).
git-svn-id: http://svn.redmine.org/redmine/trunk@12987 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -103,11 +103,12 @@ class AdminControllerTest < ActionController::TestCase
|
||||
end
|
||||
|
||||
def test_no_plugins
|
||||
Redmine::Plugin.clear
|
||||
Redmine::Plugin.stubs(:registered_plugins).returns({})
|
||||
|
||||
get :plugins
|
||||
assert_response :success
|
||||
assert_template 'plugins'
|
||||
assert_equal [], assigns(:plugins)
|
||||
end
|
||||
|
||||
def test_plugins
|
||||
|
||||
Reference in New Issue
Block a user