You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: account_reset_helper.rb
    path of file: ./repos/identity-idp/spec/support
    
    the code of the file until where you have to start completion: module AccountResetHelper
  def create_account_reset_request_for(user, requesting_issuer = nil)
    request = AccountResetRequest.create_or_find_by(user: user)
    request_token = SecureRandom.uuid
    request.update!(
      request_token: request_token,
      req
    
  def create_account_reset_request_for(user, requesting_issuer = nil)
    request = AccountResetRequest.create_or_find_by(user: user)
    request_token = SecureRandom.uuid
    request.update!(
      request_token: request_token,
      requested_at: Time.zone.now,
      cancelled_at: nil,
      granted_at: nil,
      granted_token: nil,
      requesting_issuer: requesting_issuer,
    )
    request_token
  end