创建测试用户

dev_local_2
daiao 5 years ago
parent 66362e14e7
commit dd9bfea51e

@ -45,7 +45,7 @@ namespace :sync do
user = User.create!(edit_params)
user.password = "edu12345678"
user.save!
UserExtension.create!(user_id: user.id, school_id: 117)
UserExtension.create!(user_id: user.id, school_id: 1)
puts i
end
end

Loading…
Cancel
Save