Fix testing bug

This problem was injecting the wrong search_path in a database connection
(from User#get_database)) because of a stale object
pull/13901/head
Javier Goizueta 6 years ago
parent 323ce4488d
commit 97291242f6

@ -42,6 +42,7 @@ module CartoDB
uo = CartoDB::UserOrganization.new(organization.id, owner.id)
uo.promote_user_to_admin
organization.reload
owner.reload
organization
end

Loading…
Cancel
Save