Merged r2986 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2987 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Vendored
+48
@@ -96,5 +96,53 @@ users_006:
|
||||
mail_notification: false
|
||||
login: ''
|
||||
type: AnonymousUser
|
||||
users_007:
|
||||
id: 7
|
||||
created_on: 2006-07-19 19:33:19 +02:00
|
||||
status: 1
|
||||
last_login_on:
|
||||
language: ''
|
||||
hashed_password: 1
|
||||
updated_on: 2006-07-19 19:33:19 +02:00
|
||||
admin: false
|
||||
mail: someone@foo.bar
|
||||
lastname: One
|
||||
firstname: Some
|
||||
auth_source_id:
|
||||
mail_notification: false
|
||||
login: someone
|
||||
type: User
|
||||
users_008:
|
||||
id: 8
|
||||
created_on: 2006-07-19 19:33:19 +02:00
|
||||
status: 1
|
||||
last_login_on:
|
||||
language: 'it'
|
||||
hashed_password: 1
|
||||
updated_on: 2006-07-19 19:33:19 +02:00
|
||||
admin: false
|
||||
mail: miscuser8@foo.bar
|
||||
lastname: Misc
|
||||
firstname: User
|
||||
auth_source_id:
|
||||
mail_notification: false
|
||||
login: miscuser8
|
||||
type: User
|
||||
users_009:
|
||||
id: 9
|
||||
created_on: 2006-07-19 19:33:19 +02:00
|
||||
status: 1
|
||||
last_login_on:
|
||||
language: 'it'
|
||||
hashed_password: 1
|
||||
updated_on: 2006-07-19 19:33:19 +02:00
|
||||
admin: false
|
||||
mail: miscuser9@foo.bar
|
||||
lastname: Misc
|
||||
firstname: User
|
||||
auth_source_id:
|
||||
mail_notification: false
|
||||
login: miscuser9
|
||||
type: User
|
||||
|
||||
|
||||
@@ -44,6 +44,11 @@ class AccountControllerTest < Test::Unit::TestCase
|
||||
assert_nil assigns(:user)
|
||||
end
|
||||
|
||||
def test_show_should_not_reveal_users_with_no_visible_activity_or_project
|
||||
get :show, :id => 9
|
||||
assert_response 404
|
||||
end
|
||||
|
||||
def test_login_should_redirect_to_back_url_param
|
||||
# request.uri is "test.host" in test environment
|
||||
post :login, :username => 'jsmith', :password => 'jsmith', :back_url => 'http%3A%2F%2Ftest.host%2Fissues%2Fshow%2F1'
|
||||
|
||||
Reference in New Issue
Block a user