app/routines/openstax/accounts/dev/create_account.rb in openstax_accounts-9.2.0 vs app/routines/openstax/accounts/dev/create_account.rb in openstax_accounts-9.3.0
- old
+ new
@@ -30,9 +30,11 @@
access_token: SecureRandom.hex.to_s,
username: username,
role: inputs[:role] || :unknown_role,
uuid: SecureRandom.uuid,
support_identifier: "cs_#{SecureRandom.hex(4)}",
+ school_type: inputs[:school_type] || :unknown_school_type,
+ school_location: inputs[:school_location] || :unknown_school_location,
is_test: true
)
transfer_errors_from(outputs.account, {type: :verbatim}, true)
end