fix source indents of test/functional/auth_sources_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19870 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-07-09 15:18:07 +00:00
parent e75829d2f3
commit fa14ad7a2d

View File

@@ -188,11 +188,14 @@ class AuthSourcesControllerTest < Redmine::ControllerTest
end end
def test_autocomplete_for_new_user def test_autocomplete_for_new_user
AuthSource.expects(:search).with('foo').returns([ AuthSource.expects(:search).with('foo').returns(
{:login => 'foo1', :firstname => 'John', :lastname => 'Smith', :mail => 'foo1@example.net', :auth_source_id => 1}, [
{:login => 'Smith', :firstname => 'John', :lastname => 'Doe', :mail => 'foo2@example.net', :auth_source_id => 1} {:login => 'foo1', :firstname => 'John', :lastname => 'Smith',
]) :mail => 'foo1@example.net', :auth_source_id => 1},
{:login => 'Smith', :firstname => 'John', :lastname => 'Doe',
:mail => 'foo2@example.net', :auth_source_id => 1}
]
)
get :autocomplete_for_new_user, :params => { get :autocomplete_for_new_user, :params => {
:term => 'foo' :term => 'foo'
} }