Allow user details to be fetched without agreeing terms
This commit is contained in:
parent
658762a603
commit
02e186ee5b
3 changed files with 4 additions and 7 deletions
|
@ -38,9 +38,6 @@ class UserBlocksTest < ActionController::IntegrationTest
|
|||
|
||||
# revoke the ban
|
||||
get '/login'
|
||||
assert_response :redirect
|
||||
assert_redirected_to "controller" => "user", "action" => "login", "cookie_test" => "true"
|
||||
follow_redirect!
|
||||
assert_response :success
|
||||
post '/login', {'user[email]' => moderator.email, 'user[password]' => "test", :referer => "/blocks/#{block.id}/revoke"}
|
||||
assert_response :redirect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue