Sha256: 241428ef465888f4b46c7748b1f469fb8b7a5788fc1afcaf2746f2bd1239b8f4

Contents?: true

Size: 616 Bytes

Versions: 8

Compression:

Stored size: 616 Bytes

Contents

require_relative '../test/core_pro_test_base'
require_relative '../lib/corepro/external_account_document'

class AgExternalAccountDocumentTest < CoreProTestBase
  def test_upload
    ead = CorePro::ExternalAccountDocument.new
    ead.customerId = @@exampleCustomerId
    ead.externalAccountId = @@exampleExternalAccountId
    ead.documentType = 'DriversLicense'
    ead.documentName = 'test.pdf'
    ead.reasonType = 'NameChange'
    folder = File.expand_path(File.dirname(File.dirname(__FILE__)))
    ead.documentContent = File.read(folder + '/test.pdf')
    ead.upload @@exampleConn, nil
    assert true

  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
corepro_fvr-1.0.9 test/ag_external_account_document_test.rb
corepro_eg-1.0.8 test/ag_external_account_document_test.rb
corepro_eg-1.0.7 test/ag_external_account_document_test.rb
corepro_eg-1.0.6 test/ag_external_account_document_test.rb
corepro_eg-1.0.5 test/ag_external_account_document_test.rb
corepro_eg-1.0.4 test/ag_external_account_document_test.rb
corepro_eg-1.0.3 test/ag_external_account_document_test.rb
corepro_eg-1.0.2 test/ag_external_account_document_test.rb